Spaces:
Running
Running
Update app.py
Browse files
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 |
-
|
193 |
-
|
194 |
-
|
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)
|