Spaces:
Running
Running
crcdng
commited on
Commit
·
fcadcee
1
Parent(s):
9b28bd5
add image gen
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ with open("prompts.yaml", 'r') as stream:
|
|
40 |
|
41 |
agent = CodeAgent(
|
42 |
model=model,
|
43 |
-
tools=[final_answer, get_current_time_in_timezone, DuckDuckGoSearchTool()], ## add your tools here (don't remove final answer)
|
44 |
max_steps=6,
|
45 |
verbosity_level=1,
|
46 |
grammar=None,
|
|
|
40 |
|
41 |
agent = CodeAgent(
|
42 |
model=model,
|
43 |
+
tools=[final_answer, get_current_time_in_timezone, image_generation_tool, DuckDuckGoSearchTool()], ## add your tools here (don't remove final answer)
|
44 |
max_steps=6,
|
45 |
verbosity_level=1,
|
46 |
grammar=None,
|