Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import os
|
|
6 |
HF_API_TOKEN = os.getenv("HUG_TOKEN_READ")
|
7 |
|
8 |
# Hugging Face Inference API Client
|
9 |
-
client = InferenceClient(model="mistralai/Mistral-7B-Instruct-v0.
|
10 |
|
11 |
# Funktion zur Emoji-Übersetzung
|
12 |
def text_to_emoji(text):
|
|
|
6 |
HF_API_TOKEN = os.getenv("HUG_TOKEN_READ")
|
7 |
|
8 |
# Hugging Face Inference API Client
|
9 |
+
client = InferenceClient(model="mistralai/Mistral-7B-Instruct-v0.1", token=HF_API_TOKEN)
|
10 |
|
11 |
# Funktion zur Emoji-Übersetzung
|
12 |
def text_to_emoji(text):
|