Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,7 +54,7 @@ with open("prompts.yaml", 'r') as stream:
|
|
| 54 |
|
| 55 |
agent = CodeAgent(
|
| 56 |
model=model,
|
| 57 |
-
tools=[final_answer,
|
| 58 |
max_steps=6,
|
| 59 |
verbosity_level=1,
|
| 60 |
grammar=None,
|
|
@@ -64,5 +64,4 @@ agent = CodeAgent(
|
|
| 64 |
prompt_templates=prompt_templates
|
| 65 |
)
|
| 66 |
|
| 67 |
-
|
| 68 |
GradioUI(agent).launch()
|
|
|
|
| 54 |
|
| 55 |
agent = CodeAgent(
|
| 56 |
model=model,
|
| 57 |
+
tools=[image_generation_tool,get_current_time_in_timezone,final_answer,DuckDuckGoSearchTool()], ## add or remove tools here
|
| 58 |
max_steps=6,
|
| 59 |
verbosity_level=1,
|
| 60 |
grammar=None,
|
|
|
|
| 64 |
prompt_templates=prompt_templates
|
| 65 |
)
|
| 66 |
|
|
|
|
| 67 |
GradioUI(agent).launch()
|