emvecchi commited on
Commit
36758e4
1 Parent(s): 8ce15da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -189,9 +189,9 @@ def show_field(f: Field, index: int):
189
  format_func=lambda x: labels[x // 25],
190
  key=key,
191
  value=value, help=f.help)
192
- case 'multiselect':
193
- choices = default_choices if not f.other_params.get('choices') else f.other_params.get('choices')
194
- st.session_state.data_inputs[f.name] = st.multiselect(f.title,
195
  options = choices,
196
  key=key,
197
  help=f.help)
 
189
  format_func=lambda x: labels[x // 25],
190
  key=key,
191
  value=value, help=f.help)
192
+ case 'multiselect':
193
+ choices = default_choices if not f.other_params.get('choices') else f.other_params.get('choices')
194
+ st.session_state.data_inputs[f.name] = st.multiselect(f.title,
195
  options = choices,
196
  key=key,
197
  help=f.help)