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

change model to phi4 mini

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -15,9 +15,10 @@ import re
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
 
22
  # Function to translate text into emojis
23
  def text_to_emoji(text):
 
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):