Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -40,11 +40,11 @@ def get_joke_tool(arg1:str)-> str: #it's import to specify the return type
|
|
| 40 |
arg1: the first argument ex programming
|
| 41 |
arg2: the second argument ex 0
|
| 42 |
"""
|
| 43 |
-
|
| 44 |
-
|
| 45 |
|
| 46 |
-
|
| 47 |
-
|
| 48 |
|
| 49 |
return joke
|
| 50 |
|
|
|
|
| 40 |
arg1: the first argument ex programming
|
| 41 |
arg2: the second argument ex 0
|
| 42 |
"""
|
| 43 |
+
if arg1 = "programming":
|
| 44 |
+
joke= "why didn't the programmer quit his job? because he didn't get a raise"
|
| 45 |
|
| 46 |
+
else:
|
| 47 |
+
"What magic will you build ?"
|
| 48 |
|
| 49 |
return joke
|
| 50 |
|