Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -131,7 +131,7 @@ def fetch_solunar_tide_data(lat, lon, datetime_input):
|
|
| 131 |
}
|
| 132 |
|
| 133 |
params = {
|
| 134 |
-
'
|
| 135 |
'lng': lon,
|
| 136 |
'date': datetime_input.date().isoformat()
|
| 137 |
}
|
|
@@ -225,7 +225,7 @@ def main():
|
|
| 225 |
if "weather" in historical_data:
|
| 226 |
st.subheader("Weather Conditions:")
|
| 227 |
for condition in historical_data["weather"]:
|
| 228 |
-
st.write(f"**Description:** {condition.get('description', 'N/
|
| 229 |
else:
|
| 230 |
st.write("Could not retrieve weather data.")
|
| 231 |
|
|
|
|
| 131 |
}
|
| 132 |
|
| 133 |
params = {
|
| 134 |
+
'lat': lat,
|
| 135 |
'lng': lon,
|
| 136 |
'date': datetime_input.date().isoformat()
|
| 137 |
}
|
|
|
|
| 225 |
if "weather" in historical_data:
|
| 226 |
st.subheader("Weather Conditions:")
|
| 227 |
for condition in historical_data["weather"]:
|
| 228 |
+
st.write(f"**Description:** {condition.get('description', 'N/A')}") # You might want to display the actual icon from openweathermap
|
| 229 |
else:
|
| 230 |
st.write("Could not retrieve weather data.")
|
| 231 |
|