CreaCY commited on
Commit
2bc34c7
·
1 Parent(s): d62bb86

add img_generation_tool

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -67,7 +67,7 @@ with open("prompts.yaml", 'r') as stream:
67
 
68
  agent = CodeAgent(
69
  model=model,
70
- tools=[final_answer, add_method], ## add your tools here (don't remove final answer)
71
  max_steps=6,
72
  verbosity_level=1,
73
  grammar=None,
@@ -78,4 +78,4 @@ agent = CodeAgent(
78
  )
79
 
80
 
81
- GradioUI(agent).launch()
 
67
 
68
  agent = CodeAgent(
69
  model=model,
70
+ tools=[final_answer, add_method, image_generation_tool], ## add your tools here (don't remove final answer)
71
  max_steps=6,
72
  verbosity_level=1,
73
  grammar=None,
 
78
  )
79
 
80
 
81
+ GradioUI(agent).launch()