Spaces:
Build error
Build error
pjgerrits
commited on
Commit
·
768c765
1
Parent(s):
e0a4c5c
change titles
Browse files
app.py
CHANGED
|
@@ -82,7 +82,7 @@ st.markdown(
|
|
| 82 |
unsafe_allow_html=True,
|
| 83 |
)
|
| 84 |
st.sidebar.image("static/UoG_keyline.png")
|
| 85 |
-
st.sidebar.title("Step 1 - Add Markers")
|
| 86 |
|
| 87 |
# Custom buttons for selecting point type
|
| 88 |
col1, col2, col3 = st.sidebar.columns(3)
|
|
@@ -141,8 +141,9 @@ if all(st.session_state['points'].values()) and not st.session_state['survey']:
|
|
| 141 |
else:
|
| 142 |
st.sidebar.warning("Please add start, lost, and end points to proceed.")
|
| 143 |
|
|
|
|
|
|
|
| 144 |
if st.session_state['survey']:
|
| 145 |
-
st.sidebar.title("Step 2 - Survey Questions")
|
| 146 |
age = st.sidebar.selectbox("Age", list(range(10, 101, 10)))
|
| 147 |
gender = st.sidebar.radio("Gender", ["Male", "Female", "Other", "Prefer not to say"])
|
| 148 |
transport = st.sidebar.radio("Mode of Transport", ["Walk", "Car", "Bike", "Train", "Other", "Multi"])
|
|
|
|
| 82 |
unsafe_allow_html=True,
|
| 83 |
)
|
| 84 |
st.sidebar.image("static/UoG_keyline.png")
|
| 85 |
+
st.sidebar.title("Step 1 - Add Map Markers")
|
| 86 |
|
| 87 |
# Custom buttons for selecting point type
|
| 88 |
col1, col2, col3 = st.sidebar.columns(3)
|
|
|
|
| 141 |
else:
|
| 142 |
st.sidebar.warning("Please add start, lost, and end points to proceed.")
|
| 143 |
|
| 144 |
+
st.sidebar.title("Step 2 - Survey Questions")
|
| 145 |
+
|
| 146 |
if st.session_state['survey']:
|
|
|
|
| 147 |
age = st.sidebar.selectbox("Age", list(range(10, 101, 10)))
|
| 148 |
gender = st.sidebar.radio("Gender", ["Male", "Female", "Other", "Prefer not to say"])
|
| 149 |
transport = st.sidebar.radio("Mode of Transport", ["Walk", "Car", "Bike", "Train", "Other", "Multi"])
|