Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,12 +22,12 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
22 |
return "What magic will you build ?"
|
23 |
|
24 |
@tool
|
25 |
-
def
|
26 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
27 |
"""A tool that describes information about the rock band Black Sabbath
|
28 |
Args:
|
29 |
"""
|
30 |
-
return "They are a band from England.
|
31 |
|
32 |
@tool
|
33 |
def get_current_time_in_timezone(timezone: str) -> str:
|
|
|
22 |
return "What magic will you build ?"
|
23 |
|
24 |
@tool
|
25 |
+
def rock_band_info()-> str: #it's import to specify the return type
|
26 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
27 |
"""A tool that describes information about the rock band Black Sabbath
|
28 |
Args:
|
29 |
"""
|
30 |
+
return "They are a band from England. Tony Iommi is the guitar player. This is all I will tell you for now."
|
31 |
|
32 |
@tool
|
33 |
def get_current_time_in_timezone(timezone: str) -> str:
|