alirezakatani commited on
Commit
bd1ee5b
·
verified ·
1 Parent(s): cc4c873

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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,duckduckgo_search], ## add your tools here (don't remove 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()