Spaces:
Sleeping
Sleeping
added image generation tool to the list of available tools
Browse files
app.py
CHANGED
@@ -79,7 +79,8 @@ with open("prompts.yaml", 'r') as stream:
|
|
79 |
|
80 |
agent = CodeAgent(
|
81 |
model=model,
|
82 |
-
tools=[final_answer, get_current_time_in_timezone, get_amazing_dog_fact
|
|
|
83 |
max_steps=6,
|
84 |
verbosity_level=1,
|
85 |
grammar=None,
|
|
|
79 |
|
80 |
agent = CodeAgent(
|
81 |
model=model,
|
82 |
+
tools=[final_answer, get_current_time_in_timezone, get_amazing_dog_fact,
|
83 |
+
image_generation_tool], ## add your tools here (don't remove final answer)
|
84 |
max_steps=6,
|
85 |
verbosity_level=1,
|
86 |
grammar=None,
|