oberbics commited on
Commit
992277b
·
verified ·
1 Parent(s): dc6db03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  import pandas as pd
3
  import folium
4
- from folium.plugins import MeasureControl, Fullscreen, Search
5
  from geopy.geocoders import Nominatim
6
  import tempfile
7
  import warnings
@@ -120,7 +120,7 @@ def create_reliable_map(df, location_col, year):
120
  coords = []
121
 
122
  # Create marker cluster for better performance with many points
123
- marker_cluster = folium.MarkerCluster(name="Locations").add_to(m)
124
 
125
  # Process each location
126
  processed_count = 0
 
1
  import gradio as gr
2
  import pandas as pd
3
  import folium
4
+ from folium.plugins import MeasureControl, Fullscreen, Search, MarkerCluster
5
  from geopy.geocoders import Nominatim
6
  import tempfile
7
  import warnings
 
120
  coords = []
121
 
122
  # Create marker cluster for better performance with many points
123
+ marker_cluster = MarkerCluster(name="Locations").add_to(m)
124
 
125
  # Process each location
126
  processed_count = 0