Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +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 |
-
|
| 22 |
def get_joke() -> str:
|
| 23 |
"""
|
| 24 |
Fetches a random joke from the JokeAPI.
|
|
|
|
| 18 |
"""
|
| 19 |
return "What magic will you build ?"
|
| 20 |
|
| 21 |
+
@tool
|
| 22 |
def get_joke() -> str:
|
| 23 |
"""
|
| 24 |
Fetches a random joke from the JokeAPI.
|