Spaces:
Sleeping
Sleeping
added description tool
Browse files
app.py
CHANGED
@@ -10,6 +10,7 @@ from Gradio_UI import GradioUI
|
|
10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
11 |
@tool
|
12 |
def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return type
|
|
|
13 |
return f"Hello, {arg1}. You are {arg2}."
|
14 |
|
15 |
@tool
|
|
|
10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
11 |
@tool
|
12 |
def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return type
|
13 |
+
"""Tool for information"""
|
14 |
return f"Hello, {arg1}. You are {arg2}."
|
15 |
|
16 |
@tool
|