Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,8 @@ def my_custom_tool(prompt: str)-> str: #it's import to specify the return type
|
|
| 16 |
Returns:
|
| 17 |
str: A URL to the generated image.
|
| 18 |
"""
|
| 19 |
-
|
|
|
|
| 20 |
@tool
|
| 21 |
def get_current_time_in_timezone(timezone: str) -> str:
|
| 22 |
"""A tool that fetches the current local time in a specified timezone.
|
|
|
|
| 16 |
Returns:
|
| 17 |
str: A URL to the generated image.
|
| 18 |
"""
|
| 19 |
+
return "Generated image URL"
|
| 20 |
+
|
| 21 |
@tool
|
| 22 |
def get_current_time_in_timezone(timezone: str) -> str:
|
| 23 |
"""A tool that fetches the current local time in a specified timezone.
|