Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -55,7 +55,14 @@ 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 +73,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
+
65
+ tools=[final_answer, get_current_time_in_timezone, search_tool], ## add your tools here (don't remove final answer)
66
  max_steps=6,
67
  verbosity_level=1,
68
  grammar=None,
 
73
  )
74
 
75
 
76
+
77
  GradioUI(agent).launch()