Update app.py
Browse files
app.py
CHANGED
|
@@ -41,7 +41,7 @@ final_answer = FinalAnswerTool()
|
|
| 41 |
|
| 42 |
model = HfApiModel(
|
| 43 |
max_tokens=2096,
|
| 44 |
-
temperature=
|
| 45 |
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
| 46 |
custom_role_conversions=None,
|
| 47 |
)
|
|
@@ -58,7 +58,7 @@ agent = CodeAgent(
|
|
| 58 |
tools=[final_answer,
|
| 59 |
image_generation_tool, # <- add this
|
| 60 |
],
|
| 61 |
-
max_steps=
|
| 62 |
verbosity_level=1,
|
| 63 |
grammar=None,
|
| 64 |
planning_interval=None,
|
|
|
|
| 41 |
|
| 42 |
model = HfApiModel(
|
| 43 |
max_tokens=2096,
|
| 44 |
+
temperature=1.1,
|
| 45 |
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
| 46 |
custom_role_conversions=None,
|
| 47 |
)
|
|
|
|
| 58 |
tools=[final_answer,
|
| 59 |
image_generation_tool, # <- add this
|
| 60 |
],
|
| 61 |
+
max_steps=10,
|
| 62 |
verbosity_level=1,
|
| 63 |
grammar=None,
|
| 64 |
planning_interval=None,
|