Spaces:
Sleeping
Sleeping
test api
Browse files
app.py
CHANGED
|
@@ -24,12 +24,8 @@ params = {
|
|
| 24 |
responses = openmeteo.weather_api(url, params=params)
|
| 25 |
|
| 26 |
response = responses[0]
|
| 27 |
-
st.subheader(f"Coordinates {response.Latitude()}°N {response.Longitude()}°E")
|
| 28 |
-
st.subheader(f"Coordinates {response.Latitude()}°N {response.Longitude()}°E")
|
| 29 |
-
st.subheader(f"Elevation {response.Elevation()} m asl")
|
| 30 |
-
st.subheader(f"Timezone {response.Timezone()} {response.TimezoneAbbreviation()}")
|
| 31 |
-
st.subheader(f"Timezone difference to GMT+0 {response.UtcOffsetSeconds()} s")
|
| 32 |
|
|
|
|
| 33 |
|
| 34 |
|
| 35 |
# Model is cached to prevent reloading
|
|
|
|
| 24 |
responses = openmeteo.weather_api(url, params=params)
|
| 25 |
|
| 26 |
response = responses[0]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
+
st.markdown(f"Coordinates {response.Latitude()}°N {response.Longitude()}°E")
|
| 29 |
|
| 30 |
|
| 31 |
# Model is cached to prevent reloading
|