Borya-Goldarb commited on
Commit
77ed066
·
verified ·
1 Parent(s): 98098ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ st.write('Filtered Data:')
25
  st.write(filtered_data)
26
 
27
  # Create a map object
28
- m = folium.Map(location=(51.5074, 0.1278), zoom_start=10)
29
 
30
  # Add markers to the map
31
  for index, row in filtered_data.iterrows():
 
25
  st.write(filtered_data)
26
 
27
  # Create a map object
28
+ m = folium.Map(location=(filtered_data['latitude'].mean(), filtered_data['longitude'].mean()), zoom_start=10)
29
 
30
  # Add markers to the map
31
  for index, row in filtered_data.iterrows():