MarcosRodrigo commited on
Commit
e9e80c4
·
verified ·
1 Parent(s): 1944cec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -141,7 +141,7 @@ if menu == "Poll":
141
  # Collapse the dropdown after selection by storing the value in session state
142
  if selected_drinks:
143
  st.session_state.selected_drinks = selected_drinks
144
- st.experimental_rerun() # Force a rerun to collapse the dropdown
145
 
146
  # Show the "Next" button only if there are selected drinks
147
  if st.session_state.selected_drinks:
@@ -162,7 +162,7 @@ if menu == "Poll":
162
  # Collapse the dropdown after selection by storing the value in session state
163
  if selected_food:
164
  st.session_state.selected_food = selected_food
165
- st.experimental_rerun() # Force a rerun to collapse the dropdown
166
 
167
  # Show the "Save Selections" button only if there is selected food
168
  if st.session_state.selected_food:
 
141
  # Collapse the dropdown after selection by storing the value in session state
142
  if selected_drinks:
143
  st.session_state.selected_drinks = selected_drinks
144
+ # st.experimental_rerun() # Force a rerun to collapse the dropdown
145
 
146
  # Show the "Next" button only if there are selected drinks
147
  if st.session_state.selected_drinks:
 
162
  # Collapse the dropdown after selection by storing the value in session state
163
  if selected_food:
164
  st.session_state.selected_food = selected_food
165
+ # st.experimental_rerun() # Force a rerun to collapse the dropdown
166
 
167
  # Show the "Save Selections" button only if there is selected food
168
  if st.session_state.selected_food: