ludusc commited on
Commit
ef61173
1 Parent(s): 60af39a

multiselect

Browse files
Files changed (1) hide show
  1. pages/1_Disentanglement.py +3 -2
pages/1_Disentanglement.py CHANGED
@@ -142,12 +142,13 @@ with input_col_3:
142
  st.write('**Set range of change**')
143
  chosen_epsilon_input = st.empty()
144
  epsilon = chosen_epsilon_input.number_input('Lambda:', min_value=1, step=1)
 
145
  st.write('**Select hierarchical levels to manipulate**')
146
- layers = st.selectbox('Layers:', tuple(range(14)))
147
  if len(layers) == 0:
148
  layers = None
149
  print(layers)
150
- epsilon_button = st.form_submit_button('Choose the defined lambda and layers')
151
 
152
 
153
  # ---------------------------- DISPLAY COL 2 ROW 1 ------------------------------
 
142
  st.write('**Set range of change**')
143
  chosen_epsilon_input = st.empty()
144
  epsilon = chosen_epsilon_input.number_input('Lambda:', min_value=1, step=1)
145
+ epsilon_button = st.form_submit_button('Choose the defined lambda')
146
  st.write('**Select hierarchical levels to manipulate**')
147
+ layers = st.multiselect('Layers:', tuple(range(14)))
148
  if len(layers) == 0:
149
  layers = None
150
  print(layers)
151
+ layers_button = st.form_submit_button('Choose the defined layers')
152
 
153
 
154
  # ---------------------------- DISPLAY COL 2 ROW 1 ------------------------------