Spaces:
Sleeping
Sleeping
fixed descr
Browse files
app.py
CHANGED
@@ -10,7 +10,11 @@ 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 |
-
"""Tool for information
|
|
|
|
|
|
|
|
|
14 |
return f"Hello, {arg1}. You are {arg2}."
|
15 |
|
16 |
@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 |
+
Args:
|
15 |
+
arg1: name. Only man name
|
16 |
+
arg2: It's for age
|
17 |
+
"""
|
18 |
return f"Hello, {arg1}. You are {arg2}."
|
19 |
|
20 |
@tool
|