Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 30 |
final_answer = FinalAnswerTool()
|
| 31 |
|
| 32 |
model = HfApiModel(
|
| 33 |
-
max_tokens=
|
| 34 |
temperature=0.5,
|
| 35 |
model_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 36 |
)
|
|
@@ -50,7 +50,7 @@ agent = CodeAgent(
|
|
| 50 |
my_custom_tool,
|
| 51 |
get_current_time_in_timezone,
|
| 52 |
],
|
| 53 |
-
max_steps=
|
| 54 |
verbosity_level=1,
|
| 55 |
prompt_templates=prompt_templates,
|
| 56 |
)
|
|
|
|
| 30 |
final_answer = FinalAnswerTool()
|
| 31 |
|
| 32 |
model = HfApiModel(
|
| 33 |
+
max_tokens=4096,
|
| 34 |
temperature=0.5,
|
| 35 |
model_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 36 |
)
|
|
|
|
| 50 |
my_custom_tool,
|
| 51 |
get_current_time_in_timezone,
|
| 52 |
],
|
| 53 |
+
max_steps=10,
|
| 54 |
verbosity_level=1,
|
| 55 |
prompt_templates=prompt_templates,
|
| 56 |
)
|