Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,6 +17,8 @@ def image_generation_tool(prompt: str)-> str:
|
|
| 17 |
"""
|
| 18 |
return f"Generate an image of {prompt}"
|
| 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.
|
|
|
|
| 17 |
"""
|
| 18 |
return f"Generate an image of {prompt}"
|
| 19 |
|
| 20 |
+
print (image_generation_tool("Dolly Parton"))
|
| 21 |
+
|
| 22 |
@tool
|
| 23 |
def get_current_time_in_timezone(timezone: str) -> str:
|
| 24 |
"""A tool that fetches the current local time in a specified timezone.
|