Kus669 commited on
Commit
2e0cd31
·
verified ·
1 Parent(s): 5f491aa

adding feature "image_generation_tool" into agent

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -54,7 +54,11 @@ with open("prompts.yaml", 'r') as stream:
54
 
55
  agent = CodeAgent(
56
  model=model,
57
- tools=[final_answer, search_tool], ## add your tools here (don't remove final answer)
 
 
 
 
58
  max_steps=6,
59
  verbosity_level=1,
60
  grammar=None,
 
54
 
55
  agent = CodeAgent(
56
  model=model,
57
+ tools=[
58
+ final_answer,
59
+ search_tool,
60
+ image_generation_tool,
61
+ ], ## add your tools here (don't remove final answer)
62
  max_steps=6,
63
  verbosity_level=1,
64
  grammar=None,