Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,6 +18,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
18 |
"""
|
19 |
return "What magic will you build ?"
|
20 |
|
|
|
21 |
@tool
|
22 |
def my_name(firstName:str)-> str: #it's import to specify the return type
|
23 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
@@ -26,6 +27,7 @@ def my_name(firstName:str)-> str: #it's import to specify the return type
|
|
26 |
arg1: first name (e.g 'Sean')
|
27 |
"""
|
28 |
return f"Your name is {firstName} Hodgson"
|
|
|
29 |
|
30 |
@tool
|
31 |
def get_current_time_in_timezone(timezone: str) -> str:
|
|
|
18 |
"""
|
19 |
return "What magic will you build ?"
|
20 |
|
21 |
+
"""
|
22 |
@tool
|
23 |
def my_name(firstName:str)-> str: #it's import to specify the return type
|
24 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
|
|
27 |
arg1: first name (e.g 'Sean')
|
28 |
"""
|
29 |
return f"Your name is {firstName} Hodgson"
|
30 |
+
"""
|
31 |
|
32 |
@tool
|
33 |
def get_current_time_in_timezone(timezone: str) -> str:
|