Spaces:
Sleeping
Sleeping
simple joke
Browse filesInclude a joke
app.py
CHANGED
|
@@ -18,6 +18,12 @@ 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 get_current_time_in_timezone(timezone: str) -> str:
|
| 23 |
"""A tool that fetches the current local time in a specified timezone.
|
|
|
|
| 18 |
"""
|
| 19 |
return "What magic will you build ?"
|
| 20 |
|
| 21 |
+
@tool
|
| 22 |
+
def get_a_joke():
|
| 23 |
+
"""A tool to return a joke.
|
| 24 |
+
"""
|
| 25 |
+
return "Why did the DevOps engineer break up with the cloud?,Because it kept throwing unexpected bills!😆"
|
| 26 |
+
|
| 27 |
@tool
|
| 28 |
def get_current_time_in_timezone(timezone: str) -> str:
|
| 29 |
"""A tool that fetches the current local time in a specified timezone.
|