Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -61,11 +61,10 @@ def get_things_todo(city: str) -> str:
|
|
| 61 |
@tool
|
| 62 |
def my_ai_joke (arg1:str, arg2:int)-> str: #it's import to specify the return type
|
| 63 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 64 |
-
"""
|
| 65 |
Args:
|
| 66 |
-
arg1: The
|
| 67 |
-
arg2: The
|
| 68 |
-
|
| 69 |
"""
|
| 70 |
#model.temperature = arg2
|
| 71 |
#joke = joke(arg1, model.temperature) #return a joke about arg1
|
|
|
|
| 61 |
@tool
|
| 62 |
def my_ai_joke (arg1:str, arg2:int)-> str: #it's import to specify the return type
|
| 63 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 64 |
+
"""Generates an AI joke.
|
| 65 |
Args:
|
| 66 |
+
arg1: The topic of the joke.
|
| 67 |
+
arg2: The temperature for joke generation (higher values = more creative, typically 0-10).
|
|
|
|
| 68 |
"""
|
| 69 |
#model.temperature = arg2
|
| 70 |
#joke = joke(arg1, model.temperature) #return a joke about arg1
|