Spaces:
Sleeping
Sleeping
Update app.py
Browse filesimage generation tool added
app.py
CHANGED
|
@@ -55,8 +55,10 @@ with open("prompts.yaml", 'r') as stream:
|
|
| 55 |
|
| 56 |
agent = CodeAgent(
|
| 57 |
model=model,
|
| 58 |
-
tools=[
|
| 59 |
-
|
|
|
|
|
|
|
| 60 |
max_steps=6,
|
| 61 |
verbosity_level=1,
|
| 62 |
grammar=None,
|
|
|
|
| 55 |
|
| 56 |
agent = CodeAgent(
|
| 57 |
model=model,
|
| 58 |
+
tools=[
|
| 59 |
+
final_answer,
|
| 60 |
+
get_current_time_in_timezone,
|
| 61 |
+
image_generation_tool ], ## add your tools here (don't remove final answer)
|
| 62 |
max_steps=6,
|
| 63 |
verbosity_level=1,
|
| 64 |
grammar=None,
|