Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -144,15 +144,15 @@ with open("prompts.yaml", 'r') as stream:
|
|
| 144 |
# Create the agent
|
| 145 |
agent = CodeAgent(
|
| 146 |
model=model,
|
| 147 |
-
tools=[final_answer, get_current_time_in_timezone, my_custom_tool],
|
| 148 |
max_steps=6,
|
| 149 |
verbosity_level=1,
|
| 150 |
-
grammar=None,
|
| 151 |
planning_interval=None,
|
| 152 |
name=None,
|
| 153 |
description=None,
|
| 154 |
prompt_templates=prompt_templates
|
| 155 |
)
|
| 156 |
|
|
|
|
| 157 |
# Launch the UI
|
| 158 |
GradioUI(agent).launch()
|
|
|
|
| 144 |
# Create the agent
|
| 145 |
agent = CodeAgent(
|
| 146 |
model=model,
|
| 147 |
+
tools=[final_answer, get_current_time_in_timezone, my_custom_tool],
|
| 148 |
max_steps=6,
|
| 149 |
verbosity_level=1,
|
|
|
|
| 150 |
planning_interval=None,
|
| 151 |
name=None,
|
| 152 |
description=None,
|
| 153 |
prompt_templates=prompt_templates
|
| 154 |
)
|
| 155 |
|
| 156 |
+
|
| 157 |
# Launch the UI
|
| 158 |
GradioUI(agent).launch()
|