awacke1 commited on
Commit
f67a4e9
β€’
1 Parent(s): 850e430

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -45,13 +45,10 @@ def add_medical_center_paths(m, source, med_centers):
45
  )
46
  ).add_to(m)
47
 
48
- # Streamlit UI
49
- st.title('Google Maps and Minnesota Medical Centers πŸ—ΊοΈ')
50
  st.sidebar.header('Directions πŸš—')
51
-
52
  source_location = st.sidebar.text_input("Source Location", "Mound, MN")
53
  destination_location = st.sidebar.text_input("Destination Location", "Minneapolis, MN")
54
-
55
  if st.sidebar.button('Get Directions'):
56
  steps, coords = get_directions_and_coords(source_location, destination_location)
57
  if steps and coords:
@@ -65,7 +62,7 @@ if st.sidebar.button('Get Directions'):
65
  st.write("No available routes.")
66
 
67
  # Minnesota Medical Centers
68
- st.markdown("## πŸ₯ Minnesota Medical Centers 🌳")
69
  m2 = folium.Map(location=[45.6945, -93.9002], zoom_start=6)
70
  marker_cluster = MarkerCluster().add_to(m2)
71
 
 
45
  )
46
  ).add_to(m)
47
 
48
+ # Driving Directions Sidebar
 
49
  st.sidebar.header('Directions πŸš—')
 
50
  source_location = st.sidebar.text_input("Source Location", "Mound, MN")
51
  destination_location = st.sidebar.text_input("Destination Location", "Minneapolis, MN")
 
52
  if st.sidebar.button('Get Directions'):
53
  steps, coords = get_directions_and_coords(source_location, destination_location)
54
  if steps and coords:
 
62
  st.write("No available routes.")
63
 
64
  # Minnesota Medical Centers
65
+ st.markdown("## πŸ—ΊοΈ Maps πŸ—ΊοΈ for πŸ₯ Minnesota Medical Centers 🌳")
66
  m2 = folium.Map(location=[45.6945, -93.9002], zoom_start=6)
67
  marker_cluster = MarkerCluster().add_to(m2)
68