Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,10 +26,11 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 26 |
"""
|
| 27 |
@tool
|
| 28 |
def get_city_image(arg3: str) -> str:
|
| 29 |
-
"""A tool that fetches the
|
| 30 |
Args:
|
| 31 |
arg3: A string representing a valid city name (e.g., 'Lagos').
|
| 32 |
"""
|
|
|
|
| 33 |
try:
|
| 34 |
# Create timezone object
|
| 35 |
tz = pytz.timezone(timezone)
|
|
|
|
| 26 |
"""
|
| 27 |
@tool
|
| 28 |
def get_city_image(arg3: str) -> str:
|
| 29 |
+
"""A tool that fetches the stated city name and draws them.
|
| 30 |
Args:
|
| 31 |
arg3: A string representing a valid city name (e.g., 'Lagos').
|
| 32 |
"""
|
| 33 |
+
return f"Generated an artistic illustration of the city: {arg3}."
|
| 34 |
try:
|
| 35 |
# Create timezone object
|
| 36 |
tz = pytz.timezone(timezone)
|