Spaces:
Sleeping
Sleeping
Add app.py
Browse files
app.py
CHANGED
|
@@ -104,6 +104,7 @@ def submission(survey_data):
|
|
| 104 |
total_number_pages = 2
|
| 105 |
placeholder_buttons = None
|
| 106 |
|
|
|
|
| 107 |
|
| 108 |
|
| 109 |
# Function that records radio element changes
|
|
@@ -139,13 +140,14 @@ if st.session_state["current_page"] == 1:
|
|
| 139 |
|
| 140 |
st.markdown("""<p class="big-font"></p>""", unsafe_allow_html=True)
|
| 141 |
|
| 142 |
-
st.
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
|
|
|
| 147 |
|
| 148 |
-
st.markdown("""<style> div[class*="
|
| 149 |
|
| 150 |
|
| 151 |
placeholder = st.empty()
|
|
|
|
| 104 |
total_number_pages = 2
|
| 105 |
placeholder_buttons = None
|
| 106 |
|
| 107 |
+
Q1_radio_options = ["stone","bapple"]
|
| 108 |
|
| 109 |
|
| 110 |
# Function that records radio element changes
|
|
|
|
| 140 |
|
| 141 |
st.markdown("""<p class="big-font"></p>""", unsafe_allow_html=True)
|
| 142 |
|
| 143 |
+
st.multiselect(label = "whats ur favorite beer",
|
| 144 |
+
default = None if st.session_state["Q1"] == None else st.session_state["Q1"],
|
| 145 |
+
options = Q1_radio_options,
|
| 146 |
+
key = 'Q1_multi',
|
| 147 |
+
on_change = multi_change,
|
| 148 |
+
args = (Q1_radio_options, "Q1", "Q1_multi",))
|
| 149 |
|
| 150 |
+
st.markdown("""<style> div[class*="stMulti"] > label > div[data-testid="stMarkdownContainer"] > p {font-size: 18px;}</style> <br><br>""", unsafe_allow_html=True)
|
| 151 |
|
| 152 |
|
| 153 |
placeholder = st.empty()
|