Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,7 +56,7 @@ def meteo_weathercode_to_emoji(weathercode):
|
|
| 56 |
}
|
| 57 |
return emoji.get(weathercode, "❓")
|
| 58 |
|
| 59 |
-
def get_city_coordinates(city_name: str)
|
| 60 |
"""
|
| 61 |
Finds the GPS coordinates (latitude, longitude) of a city.
|
| 62 |
|
|
@@ -78,7 +78,7 @@ def get_city_coordinates(city_name: str) -> float, float:
|
|
| 78 |
return None
|
| 79 |
|
| 80 |
@tool
|
| 81 |
-
def get_weather_forecast(city: str, days: str=3):
|
| 82 |
"""
|
| 83 |
Retrieves a weather forecast for a city over the next few days.
|
| 84 |
|
|
|
|
| 56 |
}
|
| 57 |
return emoji.get(weathercode, "❓")
|
| 58 |
|
| 59 |
+
def get_city_coordinates(city_name: str):
|
| 60 |
"""
|
| 61 |
Finds the GPS coordinates (latitude, longitude) of a city.
|
| 62 |
|
|
|
|
| 78 |
return None
|
| 79 |
|
| 80 |
@tool
|
| 81 |
+
def get_weather_forecast(city: str, days: str=3) -> str:
|
| 82 |
"""
|
| 83 |
Retrieves a weather forecast for a city over the next few days.
|
| 84 |
|