Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -146,7 +146,7 @@ class BasicAgent:
|
|
| 146 |
model = InferenceClientModel(
|
| 147 |
model_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 148 |
token=token, # Set your Hugging Face token in the environment
|
| 149 |
-
provider="
|
| 150 |
)
|
| 151 |
self.agent= CodeAgent(
|
| 152 |
tools = [add, subtract, multiply, divide, web_search, image_generation_tool],
|
|
|
|
| 146 |
model = InferenceClientModel(
|
| 147 |
model_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 148 |
token=token, # Set your Hugging Face token in the environment
|
| 149 |
+
provider="auto"
|
| 150 |
)
|
| 151 |
self.agent= CodeAgent(
|
| 152 |
tools = [add, subtract, multiply, divide, web_search, image_generation_tool],
|