Spaces:
No application file
No application file
Update app.py
Browse files
app.py
CHANGED
@@ -91,8 +91,8 @@ primary_client = InferenceClient("meta-llama/Llama-3.3-70B-Instruct", token=HF_T
|
|
91 |
print("Primary model (LLaMA-3.3-70B-Instruct) client initialized.")
|
92 |
|
93 |
# Initialize InferenceClient for fallback model (Gemma-2-9b-it)
|
94 |
-
fallback_client = InferenceClient("
|
95 |
-
print("Fallback model (
|
96 |
|
97 |
|
98 |
# Load spacy model for sentence splitting
|
|
|
91 |
print("Primary model (LLaMA-3.3-70B-Instruct) client initialized.")
|
92 |
|
93 |
# Initialize InferenceClient for fallback model (Gemma-2-9b-it)
|
94 |
+
fallback_client = InferenceClient("openai-community/gpt2", token=HF_TOKEN)
|
95 |
+
print("Fallback model (gpt2) client initialized.")
|
96 |
|
97 |
|
98 |
# Load spacy model for sentence splitting
|