Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ IMAGE_MODEL_ID = os.environ.get("IMAGE_MODEL_ID", "Anwarkh1/Skin_Cancer-Image_Cl
|
|
| 32 |
# favor of the "Inference Providers" router (OpenAI-compatible). Any chat
|
| 33 |
# model listed at https://huggingface.co/models?inference_provider=hf-inference
|
| 34 |
# works here.
|
| 35 |
-
CHAT_MODEL_ID = os.environ.get("CHAT_MODEL_ID", "
|
| 36 |
HF_TOKEN = os.environ.get("HF_TOKEN") # add as a Space SECRET to enable the chatbot
|
| 37 |
ROUTER_URL = "https://router.huggingface.co/v1/chat/completions"
|
| 38 |
|
|
|
|
| 32 |
# favor of the "Inference Providers" router (OpenAI-compatible). Any chat
|
| 33 |
# model listed at https://huggingface.co/models?inference_provider=hf-inference
|
| 34 |
# works here.
|
| 35 |
+
CHAT_MODEL_ID = os.environ.get("CHAT_MODEL_ID", "Qwen/Qwen2.5-7B-Instruct")
|
| 36 |
HF_TOKEN = os.environ.get("HF_TOKEN") # add as a Space SECRET to enable the chatbot
|
| 37 |
ROUTER_URL = "https://router.huggingface.co/v1/chat/completions"
|
| 38 |
|