Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,10 +7,6 @@ HF_TOKEN = os.getenv("tomoniaccess")
|
|
| 7 |
|
| 8 |
# Model options (uncomment one that works):
|
| 9 |
model_name = "LeoLM/leo-hessianai-13b-chat" # Primary choice
|
| 10 |
-
# model_name = "LeoLM/leo-hessianai-7b-chat" # Smaller alternative
|
| 11 |
-
# model_name = "microsoft/DialoGPT-medium" # Reliable fallback
|
| 12 |
-
# model_name = "google/flan-t5-large" # Google alternative
|
| 13 |
-
|
| 14 |
client = InferenceClient(
|
| 15 |
model=model_name,
|
| 16 |
token=HF_TOKEN
|
|
|
|
| 7 |
|
| 8 |
# Model options (uncomment one that works):
|
| 9 |
model_name = "LeoLM/leo-hessianai-13b-chat" # Primary choice
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
client = InferenceClient(
|
| 11 |
model=model_name,
|
| 12 |
token=HF_TOKEN
|