Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
| 212 |
|
| 213 |
-
with
|
| 214 |
st.title("Scenic Routes & Stops: Your Vacation Odyssey")
|
| 215 |
|
| 216 |
# Add content to the right column (picture)
|
| 217 |
-
with
|
| 218 |
st.image("Vaccation_Route_finder_Logo.png")
|
| 219 |
|
| 220 |
|
|
@@ -229,15 +229,15 @@ def page_vacation():
|
|
| 229 |
|
| 230 |
|
| 231 |
# Create two columns
|
| 232 |
-
|
| 233 |
|
| 234 |
# Inputs for start location name
|
| 235 |
-
with
|
| 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
|
| 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 |
|