Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -72,8 +72,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 72 |
agent = CodeAgent(model=model,
|
| 73 |
tools=[DuckDuckGoSearchTool(), VisitWebpageTool(), final_answer],
|
| 74 |
max_steps=20,
|
| 75 |
-
verbosity_level=2
|
| 76 |
-
prompt_templates=prompt_templates)
|
| 77 |
except Exception as e:
|
| 78 |
print(f"Error instantiating agent: {e}")
|
| 79 |
return f"Error initializing agent: {e}", None
|
|
|
|
| 72 |
agent = CodeAgent(model=model,
|
| 73 |
tools=[DuckDuckGoSearchTool(), VisitWebpageTool(), final_answer],
|
| 74 |
max_steps=20,
|
| 75 |
+
verbosity_level=2)
|
|
|
|
| 76 |
except Exception as e:
|
| 77 |
print(f"Error instantiating agent: {e}")
|
| 78 |
return f"Error initializing agent: {e}", None
|