Anne314159 commited on
Commit
3ea1ab2
·
verified ·
1 Parent(s): ad68b29

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -208,13 +208,13 @@ def geocode_location(location_name):
208
 
209
  # The updated page_vacation function using location names
210
  def page_vacation():
211
- left_column, right_column = st.columns([4, 1])
212
 
213
- with left_column:
214
  st.title("Scenic Routes & Stops: Your Vacation Odyssey")
215
 
216
  # Add content to the right column (picture)
217
- with right_column:
218
  st.image("Vaccation_Route_finder_Logo.png")
219
 
220
 
@@ -229,15 +229,15 @@ def page_vacation():
229
 
230
 
231
  # Create two columns
232
- left_colum, right_column2 = st.columns(2)
233
 
234
  # Inputs for start location name
235
- with left_column:
236
  st.header("Start Point")
237
  start_location_name = st.text_input("Enter Start Location Name", "Österbergstraße 3, 72074 Tübingen, Germany")
238
 
239
  # Inputs for end location name
240
- with right_column:
241
  st.header("End Point")
242
  end_location_name = st.text_input("Enter End Location Name", "Burgsteige, 72639 Neuffen, Germany")
243
 
 
208
 
209
  # The updated page_vacation function using location names
210
  def page_vacation():
211
+ main_title_column, main_logo_column = st.columns([3, 1])
212
 
213
+ with main_title_column:
214
  st.title("Scenic Routes & Stops: Your Vacation Odyssey")
215
 
216
  # Add content to the right column (picture)
217
+ with main_logo_column:
218
  st.image("Vaccation_Route_finder_Logo.png")
219
 
220
 
 
229
 
230
 
231
  # Create two columns
232
+ start_column, end_column = st.columns(2)
233
 
234
  # Inputs for start location name
235
+ with start_column:
236
  st.header("Start Point")
237
  start_location_name = st.text_input("Enter Start Location Name", "Österbergstraße 3, 72074 Tübingen, Germany")
238
 
239
  # Inputs for end location name
240
+ with end_column:
241
  st.header("End Point")
242
  end_location_name = st.text_input("Enter End Location Name", "Burgsteige, 72639 Neuffen, Germany")
243