Spaces:
Running
Running
Add image generation tool and timezon
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ with open("prompts.yaml", 'r') as stream:
|
|
49 |
|
50 |
agent = CodeAgent(
|
51 |
model=model,
|
52 |
-
tools=[image_generation_tool, final_answer], ## add your tools here (don't remove final answer)
|
53 |
max_steps=6,
|
54 |
verbosity_level=1,
|
55 |
grammar=None,
|
|
|
49 |
|
50 |
agent = CodeAgent(
|
51 |
model=model,
|
52 |
+
tools=[image_generation_tool, get_current_time_in_timezone, final_answer], ## add your tools here (don't remove final answer)
|
53 |
max_steps=6,
|
54 |
verbosity_level=1,
|
55 |
grammar=None,
|