Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
| 17 |
arg2: the second argument
|
| 18 |
"""
|
| 19 |
search=DuckDuckGoSearchTool()
|
| 20 |
-
result=search.run(arg1)
|
| 21 |
return result
|
| 22 |
|
| 23 |
@tool
|
|
|
|
| 17 |
arg2: the second argument
|
| 18 |
"""
|
| 19 |
search=DuckDuckGoSearchTool()
|
| 20 |
+
result=search.run(arg1, max_results=3)
|
| 21 |
return result
|
| 22 |
|
| 23 |
@tool
|