auday commited on
Commit
47d84e7
·
verified ·
1 Parent(s): da646f0

:bug: remove DuckDuckgo and support ✨ images generation

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -85,7 +85,6 @@ model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may
85
  custom_role_conversions=None,
86
  )
87
 
88
-
89
  # Import tool from Hub
90
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
91
 
@@ -94,7 +93,7 @@ with open("prompts.yaml", 'r') as stream:
94
 
95
  agent = CodeAgent(
96
  model=model,
97
- tools=[final_answer,DuckDuckGoSearchTool,get_cat_images], ## add your tools here (don't remove final answer)
98
  max_steps=6,
99
  verbosity_level=1,
100
  grammar=None,
 
85
  custom_role_conversions=None,
86
  )
87
 
 
88
  # Import tool from Hub
89
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
90
 
 
93
 
94
  agent = CodeAgent(
95
  model=model,
96
+ tools=[final_answer,image_generation_tool,get_cat_images], ## add your tools here (don't remove final answer)
97
  max_steps=6,
98
  verbosity_level=1,
99
  grammar=None,