Spaces:
Sleeping
Sleeping
add img_generation_tool
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ with open("prompts.yaml", 'r') as stream:
|
|
67 |
|
68 |
agent = CodeAgent(
|
69 |
model=model,
|
70 |
-
tools=[final_answer, add_method], ## add your tools here (don't remove final answer)
|
71 |
max_steps=6,
|
72 |
verbosity_level=1,
|
73 |
grammar=None,
|
@@ -78,4 +78,4 @@ agent = CodeAgent(
|
|
78 |
)
|
79 |
|
80 |
|
81 |
-
GradioUI(agent).launch()
|
|
|
67 |
|
68 |
agent = CodeAgent(
|
69 |
model=model,
|
70 |
+
tools=[final_answer, add_method, image_generation_tool], ## add your tools here (don't remove final answer)
|
71 |
max_steps=6,
|
72 |
verbosity_level=1,
|
73 |
grammar=None,
|
|
|
78 |
)
|
79 |
|
80 |
|
81 |
+
GradioUI(agent).launch()
|