rrecheve commited on
Commit
e8af338
·
verified ·
1 Parent(s): 1b9e8db

Update app.py

Browse files

fix bug in tool listing

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ with open("prompts.yaml", 'r') as stream:
51
 
52
  agent = CodeAgent(
53
  model=model,
54
- tools=[final_answer,image_generation_tool,DuckDuckGoSearchTool], ## add your tools here (don't remove final answer)
55
  max_steps=6,
56
  verbosity_level=1,
57
  grammar=None,
 
51
 
52
  agent = CodeAgent(
53
  model=model,
54
+ tools=[final_answer,image_generation_tool,DuckDuckGoSearchTool()], ## add your tools here (don't remove final answer)
55
  max_steps=6,
56
  verbosity_level=1,
57
  grammar=None,