Spaces:
Sleeping
Sleeping
Update app.py
Browse filesfixed missing comma
app.py
CHANGED
@@ -62,12 +62,12 @@ with open("prompts.yaml", 'r') as stream:
|
|
62 |
|
63 |
agent = CodeAgent(
|
64 |
model=model,
|
65 |
-
|
66 |
final_answer,
|
67 |
image_generation_tool,
|
68 |
get_current_time_in_timezone, # even though it's decorated
|
69 |
my_custom_tool # same here
|
70 |
-
]
|
71 |
max_steps=6,
|
72 |
verbosity_level=1,
|
73 |
grammar=None,
|
|
|
62 |
|
63 |
agent = CodeAgent(
|
64 |
model=model,
|
65 |
+
tools=[
|
66 |
final_answer,
|
67 |
image_generation_tool,
|
68 |
get_current_time_in_timezone, # even though it's decorated
|
69 |
my_custom_tool # same here
|
70 |
+
],
|
71 |
max_steps=6,
|
72 |
verbosity_level=1,
|
73 |
grammar=None,
|