Spaces:
Sleeping
Sleeping
changemodel
Browse files
app.py
CHANGED
|
@@ -85,7 +85,7 @@ final_answer = FinalAnswerTool()
|
|
| 85 |
model = HfApiModel(
|
| 86 |
max_tokens=2096,
|
| 87 |
temperature=0.5,
|
| 88 |
-
model_id='
|
| 89 |
custom_role_conversions=None,
|
| 90 |
)
|
| 91 |
|
|
@@ -98,7 +98,7 @@ with open("prompts.yaml", 'r') as stream:
|
|
| 98 |
|
| 99 |
agent = CodeAgent(
|
| 100 |
model=model,
|
| 101 |
-
tools=[final_answer,check_weather,get_current_time_in_timezone], ## add your tools here (don't remove final answer)
|
| 102 |
max_steps=6,
|
| 103 |
verbosity_level=1,
|
| 104 |
grammar=None,
|
|
|
|
| 85 |
model = HfApiModel(
|
| 86 |
max_tokens=2096,
|
| 87 |
temperature=0.5,
|
| 88 |
+
model_id='deepseek-ai/DeepSeek-R1-Distill-Qwen-32B',# it is possible that this model may be overloaded
|
| 89 |
custom_role_conversions=None,
|
| 90 |
)
|
| 91 |
|
|
|
|
| 98 |
|
| 99 |
agent = CodeAgent(
|
| 100 |
model=model,
|
| 101 |
+
tools=[final_answer,check_weather,get_current_time_in_timezone,image_generation_tool], ## add your tools here (don't remove final answer)
|
| 102 |
max_steps=6,
|
| 103 |
verbosity_level=1,
|
| 104 |
grammar=None,
|