venjp commited on
Commit
2d941d9
·
verified ·
1 Parent(s): 4f074db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -57,7 +57,7 @@ with open("prompts.yaml", 'r') as stream:
57
 
58
  agent = CodeAgent(
59
  model=model,
60
- tools=[final_answer,search_tool,get_current_time_in_timezone], ## add your tools here (don't remove final answer)
61
  max_steps=6,
62
  verbosity_level=1,
63
  grammar=None,
@@ -68,4 +68,4 @@ agent = CodeAgent(
68
  )
69
 
70
 
71
- GradioUI(agent).launch()
 
57
 
58
  agent = CodeAgent(
59
  model=model,
60
+ tools=[final_answer,search_tool,get_current_time_in_timezone,image_generation_tool], ## add your tools here (don't remove final answer)
61
  max_steps=6,
62
  verbosity_level=1,
63
  grammar=None,
 
68
  )
69
 
70
 
71
+ GradioUI(agent).launch(share=False)