ritog commited on
Commit
0e10f75
·
verified ·
1 Parent(s): 3c6d147

added image generation tool to the list of available tools

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -79,7 +79,8 @@ with open("prompts.yaml", 'r') as stream:
79
 
80
  agent = CodeAgent(
81
  model=model,
82
- tools=[final_answer, get_current_time_in_timezone, get_amazing_dog_fact], ## add your tools here (don't remove final answer)
 
83
  max_steps=6,
84
  verbosity_level=1,
85
  grammar=None,
 
79
 
80
  agent = CodeAgent(
81
  model=model,
82
+ tools=[final_answer, get_current_time_in_timezone, get_amazing_dog_fact,
83
+ image_generation_tool], ## add your tools here (don't remove final answer)
84
  max_steps=6,
85
  verbosity_level=1,
86
  grammar=None,