Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -55,7 +55,13 @@ with open("prompts.yaml", 'r') as stream:
55
 
56
  agent = CodeAgent(
57
  model=model,
58
- tools=[final_answer], ## add your tools here (don't remove final answer)
 
 
 
 
 
 
59
  max_steps=6,
60
  verbosity_level=1,
61
  grammar=None,
@@ -66,4 +72,5 @@ agent = CodeAgent(
66
  )
67
 
68
 
 
69
  GradioUI(agent).launch()
 
55
 
56
  agent = CodeAgent(
57
  model=model,
58
+ tools=[
59
+ final_answer,
60
+ get_current_time_in_timezone,
61
+ search_tool,
62
+ image_generation_tool
63
+ ],
64
+ tools=[final_answer, get_current_time_in_timezone, search_tool], ## add your tools here (don't remove final answer)
65
  max_steps=6,
66
  verbosity_level=1,
67
  grammar=None,
 
72
  )
73
 
74
 
75
+
76
  GradioUI(agent).launch()