seccily commited on
Commit
cd6a71a
·
verified ·
1 Parent(s): 501b71b

add image generation tool

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -64,7 +64,14 @@ with open("prompts.yaml", 'r') as stream:
64
 
65
  agent = CodeAgent(
66
  model=model,
67
- tools=[who_am_i, my_custom_tool, web_search, get_current_time_in_timezone, final_answer], ## add your tools here (don't remove final answer)
 
 
 
 
 
 
 
68
  max_steps=6,
69
  verbosity_level=1,
70
  grammar=None,
 
64
 
65
  agent = CodeAgent(
66
  model=model,
67
+ tools=[
68
+ who_am_i,
69
+ my_custom_tool,
70
+ web_search,
71
+ get_current_time_in_timezone,
72
+ final_answer,
73
+ image_generation_tool
74
+ ], ## add your tools here (don't remove final answer)
75
  max_steps=6,
76
  verbosity_level=1,
77
  grammar=None,