awacke1 commited on
Commit
598641c
·
1 Parent(s): 54d1662

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -8
app.py CHANGED
@@ -32,14 +32,16 @@ def update_map(place_data):
32
  m.location = [place_data[1], place_data[2]]
33
  m.zoom_start = 13
34
  folium_static(m)
35
- for i in range(0, len(mythological_places), 3):
36
- cols = st.columns(3)
37
- for j in range(3):
38
- if i + j < len(mythological_places):
39
- with cols[j]:
40
- if st.button(mythological_places[i + j][0]):
41
- update_map(mythological_places[i + j])
42
- folium_static(m)
 
 
43
 
44
 
45
 
 
32
  m.location = [place_data[1], place_data[2]]
33
  m.zoom_start = 13
34
  folium_static(m)
35
+
36
+
37
+ for i in range(0, len(mythological_places), 3):
38
+ cols = st.columns(3)
39
+ for j in range(3):
40
+ if i + j < len(mythological_places):
41
+ with cols[j]:
42
+ if st.button(mythological_places[i + j][0]):
43
+ update_map(mythological_places[i + j])
44
+ folium_static(m)
45
 
46
 
47