Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,15 +15,15 @@ from PIL import ImageTk
|
|
| 15 |
from Gradio_UI import GradioUI
|
| 16 |
|
| 17 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 18 |
-
@tool
|
| 19 |
-
def my_custom_tool(arg1:str, arg2:int): str #it's import to specify the return type
|
| 20 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 21 |
"""A tool that does nothing yet
|
| 22 |
Args:
|
| 23 |
arg1: the first argument
|
| 24 |
arg2: the second argument
|
| 25 |
"""
|
| 26 |
-
return
|
| 27 |
|
| 28 |
@tool
|
| 29 |
def get_location_tool(ip: str): str
|
|
|
|
| 15 |
from Gradio_UI import GradioUI
|
| 16 |
|
| 17 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 18 |
+
# @tool
|
| 19 |
+
# def my_custom_tool(arg1:str, arg2:int): str #it's import to specify the return type
|
| 20 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 21 |
"""A tool that does nothing yet
|
| 22 |
Args:
|
| 23 |
arg1: the first argument
|
| 24 |
arg2: the second argument
|
| 25 |
"""
|
| 26 |
+
# return
|
| 27 |
|
| 28 |
@tool
|
| 29 |
def get_location_tool(ip: str): str
|