Spaces:
Sleeping
Sleeping
Update tools/weather.py
Browse files- tools/weather.py +1 -1
tools/weather.py
CHANGED
|
@@ -73,7 +73,7 @@ class WeatherForecast(Tool):
|
|
| 73 |
response = requests.get(geocoding_url, params=params)
|
| 74 |
response.raise_for_status()
|
| 75 |
geocoding_data = response.json()
|
| 76 |
-
|
| 77 |
if geocoding_data: # Check if any results were found
|
| 78 |
latitude = float(geocoding_data[0]["lat"])
|
| 79 |
longitude = float(geocoding_data[0]["lon"])
|
|
|
|
| 73 |
response = requests.get(geocoding_url, params=params)
|
| 74 |
response.raise_for_status()
|
| 75 |
geocoding_data = response.json()
|
| 76 |
+
print(geocoding_data)
|
| 77 |
if geocoding_data: # Check if any results were found
|
| 78 |
latitude = float(geocoding_data[0]["lat"])
|
| 79 |
longitude = float(geocoding_data[0]["lon"])
|