Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ from smolagents import MCPClient, CodeAgent, InferenceClientModel
|
|
| 8 |
SERVER_PATH = pathlib.Path(__file__).with_name("mcp_server.py")
|
| 9 |
|
| 10 |
# Lazy‑load a Hugging Face Inference model (defaults to Qwen if no id given)
|
| 11 |
-
HF_MODEL_ID = os.getenv("HF_MODEL_ID", "Qwen2.5-VL-3B-Instruct-Agentic") # small & free-tier friendly
|
| 12 |
|
| 13 |
|
| 14 |
def respond(message: str, history: list):
|
|
|
|
| 8 |
SERVER_PATH = pathlib.Path(__file__).with_name("mcp_server.py")
|
| 9 |
|
| 10 |
# Lazy‑load a Hugging Face Inference model (defaults to Qwen if no id given)
|
| 11 |
+
HF_MODEL_ID = os.getenv("HF_MODEL_ID", "smolagents/Qwen2.5-VL-3B-Instruct-Agentic") # small & free-tier friendly
|
| 12 |
|
| 13 |
|
| 14 |
def respond(message: str, history: list):
|