Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,13 @@ from Gradio_UI import GradioUI
|
|
| 10 |
|
| 11 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 12 |
@tool
|
| 13 |
-
def get_dad_jokes(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
jokes = [
|
| 15 |
"Why don't skeletons fight each other? They don't have the guts.",
|
| 16 |
"I used to play piano by ear, but now I use my hands.",
|
|
|
|
| 10 |
|
| 11 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 12 |
@tool
|
| 13 |
+
def get_dad_jokes()-> str: #it's import to specify the return type
|
| 14 |
+
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 15 |
+
"""A tool that does nothing yet
|
| 16 |
+
Args:
|
| 17 |
+
arg1: the first argument (not using)
|
| 18 |
+
arg2: the second argument (not using)
|
| 19 |
+
"""
|
| 20 |
jokes = [
|
| 21 |
"Why don't skeletons fight each other? They don't have the guts.",
|
| 22 |
"I used to play piano by ear, but now I use my hands.",
|