Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 24 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 25 |
|
| 26 |
@tool
|
| 27 |
-
def weather_art(
|
| 28 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 29 |
"""Generate an image to match the time of date returned from the get_current_time_in_timezone tool
|
| 30 |
Args:
|
|
|
|
| 24 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 25 |
|
| 26 |
@tool
|
| 27 |
+
def weather_art(timezone: str, local_time: str)-> str: #it's import to specify the return type
|
| 28 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 29 |
"""Generate an image to match the time of date returned from the get_current_time_in_timezone tool
|
| 30 |
Args:
|