Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def search_duckduckgo(query: str) -> str:
|
|
| 22 |
|
| 23 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 24 |
@tool
|
| 25 |
-
def
|
| 26 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 27 |
"""A tool that does nothing yet
|
| 28 |
Args:
|
|
|
|
| 22 |
|
| 23 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 24 |
@tool
|
| 25 |
+
def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return type
|
| 26 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 27 |
"""A tool that does nothing yet
|
| 28 |
Args:
|