Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ def get_file_content_tool(task_id: str) -> str:
|
|
| 23 |
return f"Failed to download file for task {task_id}"
|
| 24 |
|
| 25 |
# 2. Initialize model and agent
|
| 26 |
-
model =
|
| 27 |
model_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 28 |
token=os.getenv("HF_TOKEN")
|
| 29 |
)
|
|
|
|
| 23 |
return f"Failed to download file for task {task_id}"
|
| 24 |
|
| 25 |
# 2. Initialize model and agent
|
| 26 |
+
model = InferenceClientModel(
|
| 27 |
model_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 28 |
token=os.getenv("HF_TOKEN")
|
| 29 |
)
|