Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ if not hf_token:
|
|
| 18 |
logger.warning("Neither HF_TOKEN nor HUGGINGFACEHUB_API_TOKEN is set, the application may not work.")
|
| 19 |
|
| 20 |
# --- HF API Configuration ---
|
| 21 |
-
HF_API_URL = "https://api-inference.huggingface.co/models/Qwen/Qwen2.5-7B-Instruct"
|
| 22 |
HF_HEADERS = {"Authorization": f"Bearer {hf_token}"}
|
| 23 |
|
| 24 |
metrics_tracker = EduBotMetrics(save_file="edu_metrics.json")
|
|
|
|
| 18 |
logger.warning("Neither HF_TOKEN nor HUGGINGFACEHUB_API_TOKEN is set, the application may not work.")
|
| 19 |
|
| 20 |
# --- HF API Configuration ---
|
| 21 |
+
HF_API_URL = "https://api-inference.huggingface.co/models/Qwen/Qwen2.5-VL-7B-Instruct"
|
| 22 |
HF_HEADERS = {"Authorization": f"Bearer {hf_token}"}
|
| 23 |
|
| 24 |
metrics_tracker = EduBotMetrics(save_file="edu_metrics.json")
|