Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,8 +13,8 @@ def jokes(about: str, number: int) -> str: #it's import to specify the return ty
|
|
| 13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 14 |
"""A tool that search for jokes based on user defined context and number.
|
| 15 |
Args:
|
| 16 |
-
|
| 17 |
-
|
| 18 |
"""
|
| 19 |
try:
|
| 20 |
duckduckgo_tool = DuckDuckGoSearchTool()
|
|
|
|
| 13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 14 |
"""A tool that search for jokes based on user defined context and number.
|
| 15 |
Args:
|
| 16 |
+
about: Context about the jokes to look for (e.g. 'food related', 'work related')
|
| 17 |
+
number: Number of jokes user are looking for. (e.g. '1', '2', '3')
|
| 18 |
"""
|
| 19 |
try:
|
| 20 |
duckduckgo_tool = DuckDuckGoSearchTool()
|