Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -146,7 +146,7 @@ class BasicAgent:
|
|
| 146 |
model = InferenceClientModel(
|
| 147 |
model_id="deepseek-ai/deepseek-coder-6.7b-instruct", # Example OpenRouter model ID
|
| 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="deepseek-ai/deepseek-coder-6.7b-instruct", # Example OpenRouter model ID
|
| 148 |
token=token, # Set your Hugging Face token in the environment
|
| 149 |
+
provider="openrouter"
|
| 150 |
)
|
| 151 |
self.agent= CodeAgent(
|
| 152 |
tools = [add, subtract, multiply, divide, web_search, image_generation_tool],
|