Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,8 @@ def get_file_content_tool(task_id: str) -> str:
|
|
| 24 |
|
| 25 |
# 2. Initialize model and agent
|
| 26 |
model = InferenceClientModel(
|
| 27 |
-
model_id="Qwen/Qwen2.5-Coder-32B-Instruct"
|
|
|
|
| 28 |
)
|
| 29 |
|
| 30 |
agent = CodeAgent(
|
|
|
|
| 24 |
|
| 25 |
# 2. Initialize model and agent
|
| 26 |
model = InferenceClientModel(
|
| 27 |
+
model_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 28 |
+
api_key=os.getenv("HF_TOKEN")
|
| 29 |
)
|
| 30 |
|
| 31 |
agent = CodeAgent(
|