Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,11 +20,9 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
| 20 |
"""A tool that searches using DuckDuckGoSearchTool and adds a prefix and an appendix consisting of '#' characters.
|
| 21 |
|
| 22 |
Args:
|
| 23 |
-
arg1
|
| 24 |
-
arg2
|
| 25 |
|
| 26 |
-
Returns:
|
| 27 |
-
str: The search results wrapped with the '#' prefix and appendix.
|
| 28 |
"""
|
| 29 |
|
| 30 |
# Instantiate the duck_tool
|
|
|
|
| 20 |
"""A tool that searches using DuckDuckGoSearchTool and adds a prefix and an appendix consisting of '#' characters.
|
| 21 |
|
| 22 |
Args:
|
| 23 |
+
arg1: The search query.
|
| 24 |
+
arg2: The number of '#' characters to add as prefix and appendix.
|
| 25 |
|
|
|
|
|
|
|
| 26 |
"""
|
| 27 |
|
| 28 |
# Instantiate the duck_tool
|