aromidvar1355 commited on
Commit
aa0558a
·
verified ·
1 Parent(s): 5ad5aa1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -131,7 +131,7 @@ def fetch_solunar_tide_data(lat, lon, datetime_input):
131
  }
132
 
133
  params = {
134
- ' 'lat': lat,
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/ st.write(f"**Icon:** {condition.get('icon', 'N/A')}") # You might want to display the actual icon from openweathermap
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