Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -240,7 +240,7 @@ def SearchTool(DuckDuckGoSearchTool): query
|
|
| 240 |
output_type = "string"
|
| 241 |
"""
|
| 242 |
|
| 243 |
-
|
| 244 |
-
|
| 245 |
|
| 246 |
GradioUI(agent).launch()
|
|
|
|
| 240 |
output_type = "string"
|
| 241 |
"""
|
| 242 |
|
| 243 |
+
search_tool = DuckDuckGoSearchTool()
|
| 244 |
+
agent = CodeAgent(tools=[search_tool], model=model, add_base_tools=False, verbosity_level=2)
|
| 245 |
|
| 246 |
GradioUI(agent).launch()
|