ai01firebird commited on
Commit
f48cdcc
·
verified ·
1 Parent(s): bf8b184

change model to Teuken-7B-instruct-commercial

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -7,7 +7,8 @@ import re
7
  HF_API_TOKEN = os.getenv("HUG_TOKEN_READ")
8
 
9
  # Hugging Face Inference API Client
10
- client = InferenceClient(model="mistralai/Mistral-7B-Instruct-v0.1", token=HF_API_TOKEN)
 
11
 
12
  # Function to translate text into emojis
13
  def text_to_emoji(text):
 
7
  HF_API_TOKEN = os.getenv("HUG_TOKEN_READ")
8
 
9
  # Hugging Face Inference API Client
10
+ #client = InferenceClient(model="mistralai/Mistral-7B-Instruct-v0.1", token=HF_API_TOKEN)
11
+ client = InferenceClient(model="openGPT-X/Teuken-7B-instruct-commercial-v0.4", token=HF_API_TOKEN)
12
 
13
  # Function to translate text into emojis
14
  def text_to_emoji(text):