Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ from Gradio_UI import GradioUI
|
|
12 |
|
13 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
14 |
@tool
|
15 |
-
def my_custom_tool(arg1:str, img: bool)->
|
16 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
17 |
"""A tool that uses 'DuckDuckGoSearchTool' tool to answer any query.
|
18 |
Args:
|
|
|
12 |
|
13 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
14 |
@tool
|
15 |
+
def my_custom_tool(arg1:str, img: bool)-> Any: #it's import to specify the return type
|
16 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
17 |
"""A tool that uses 'DuckDuckGoSearchTool' tool to answer any query.
|
18 |
Args:
|