Spaces:
Sleeping
Sleeping
Update app.py
Browse filesmade some change
app.py
CHANGED
|
@@ -20,9 +20,9 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
| 20 |
return "What magic will you build ?"
|
| 21 |
|
| 22 |
@tool
|
| 23 |
-
def
|
| 24 |
"""
|
| 25 |
-
|
| 26 |
It can return either a single-part or a two-part joke.
|
| 27 |
|
| 28 |
The joke can be optionally filtered by a keyword to provide some relevance.
|
|
|
|
| 20 |
return "What magic will you build ?"
|
| 21 |
|
| 22 |
@tool
|
| 23 |
+
def get_a_joke(keyword: str = None) -> str:
|
| 24 |
"""
|
| 25 |
+
A tool that fetches a joke.
|
| 26 |
It can return either a single-part or a two-part joke.
|
| 27 |
|
| 28 |
The joke can be optionally filtered by a keyword to provide some relevance.
|