ai01firebird commited on
Commit
dc0de09
·
verified ·
1 Parent(s): 371da61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -12,13 +12,13 @@ import re
12
  #)
13
 
14
  # Load API key from environment variables
15
- HF_API_TOKEN = os.getenv("HUG_TOKEN")
16
 
17
  # Hugging Face Inference API Client
18
- #client = InferenceClient(model="mistralai/Mistral-7B-Instruct-v0.1", token=HF_API_TOKEN)
19
  #client = InferenceClient(model="openGPT-X/Teuken-7B-instruct-commercial-v0.4", token=HF_API_TOKEN)
20
  #client = InferenceClient(model=qwenModel, token=HF_API_TOKEN)
21
- client = InferenceClient(model="microsoft/Phi-4-mini-instruct", token=HF_API_TOKEN)
22
 
23
  # Function to translate text into emojis
24
  def text_to_emoji(text):
 
12
  #)
13
 
14
  # Load API key from environment variables
15
+ HF_API_TOKEN = os.getenv("HUG_TOKEN_READ2")
16
 
17
  # Hugging Face Inference API Client
18
+ client = InferenceClient(model="mistralai/Mistral-7B-Instruct-v0.1", token=HF_API_TOKEN)
19
  #client = InferenceClient(model="openGPT-X/Teuken-7B-instruct-commercial-v0.4", token=HF_API_TOKEN)
20
  #client = InferenceClient(model=qwenModel, token=HF_API_TOKEN)
21
+ #client = InferenceClient(model="microsoft/Phi-4-mini-instruct", token=HF_API_TOKEN)
22
 
23
  # Function to translate text into emojis
24
  def text_to_emoji(text):