arjun-radha-krishnan commited on
Commit
a67fffd
·
verified ·
1 Parent(s): 1365a32

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -33,6 +33,9 @@ def show_map(places_list):
33
  except:
34
  locate = None
35
 
 
 
 
36
  if locate is not None:
37
  if i == 0:
38
  mymap = folium.Map(location=[locate.latitude, locate.longitude], zoom_start=10)
 
33
  except:
34
  locate = None
35
 
36
+ if locate is None:
37
+ locate = geolocator.geocode("Dortmund, Germany")
38
+
39
  if locate is not None:
40
  if i == 0:
41
  mymap = folium.Map(location=[locate.latitude, locate.longitude], zoom_start=10)