Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ from Gradio_UI import GradioUI
|
|
| 10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 11 |
|
| 12 |
@tool
|
| 13 |
-
def ddg_tool(query:str,
|
| 14 |
# Keep this format for the tool description / args description but feel free to modify the tool
|
| 15 |
"""A tool that searches for restaraunts ina particular location using DuckDuckGo search.
|
| 16 |
Args:
|
|
|
|
| 10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 11 |
|
| 12 |
@tool
|
| 13 |
+
def ddg_tool(query:str, city:str, max_results:int=5)-> list: # it's important to specify the return type
|
| 14 |
# Keep this format for the tool description / args description but feel free to modify the tool
|
| 15 |
"""A tool that searches for restaraunts ina particular location using DuckDuckGo search.
|
| 16 |
Args:
|