smokxy commited on
Commit
993e1cf
·
1 Parent(s): c252e89
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,7 +5,7 @@ import pytz
5
  import yaml
6
  from tools.final_answer import FinalAnswerTool
7
  import PIL
8
- from Gradio_UI import GradioUI
9
 
10
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
11
 
@@ -75,7 +75,7 @@ with open("prompts.yaml", 'r') as stream:
75
 
76
  agent = CodeAgent(
77
  model=model,
78
- tools=[final_answer, generate_image], # add your tools here (don't remove final answer)
79
  max_steps=6,
80
  verbosity_level=1,
81
  grammar=None,
 
5
  import yaml
6
  from tools.final_answer import FinalAnswerTool
7
  import PIL
8
+ from smolagents import GradioUI
9
 
10
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
11
 
 
75
 
76
  agent = CodeAgent(
77
  model=model,
78
+ tools=[final_answer, generate_image, get_current_time_in_timezone], # add your tools here (don't remove final answer)
79
  max_steps=6,
80
  verbosity_level=1,
81
  grammar=None,