Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -60,6 +60,8 @@ def get_weather_in_location(location: str) -> str:
|
|
| 60 |
weather_response = requests.get(weather_url, params=weather_params)
|
| 61 |
weather_data = weather_response.json()
|
| 62 |
|
|
|
|
|
|
|
| 63 |
current = weather_data["current_weather"]
|
| 64 |
temp = current["temperature"]
|
| 65 |
windspeed = current["windspeed"]
|
|
|
|
| 60 |
weather_response = requests.get(weather_url, params=weather_params)
|
| 61 |
weather_data = weather_response.json()
|
| 62 |
|
| 63 |
+
print(weather_data)
|
| 64 |
+
|
| 65 |
current = weather_data["current_weather"]
|
| 66 |
temp = current["temperature"]
|
| 67 |
windspeed = current["windspeed"]
|