Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -221,9 +221,7 @@ elif st.session_state.current_index < len(st.session_state.data):
|
|
221 |
if field.name not in st.session_state.data.columns:
|
222 |
# Field doesn't exist in input dataframe, add it with a default value
|
223 |
st.session_state.data_inputs[field.name] = None
|
224 |
-
|
225 |
-
else:
|
226 |
-
show_field(field, index)
|
227 |
|
228 |
submitted = st.form_submit_button("Submit")
|
229 |
if submitted:
|
|
|
221 |
if field.name not in st.session_state.data.columns:
|
222 |
# Field doesn't exist in input dataframe, add it with a default value
|
223 |
st.session_state.data_inputs[field.name] = None
|
224 |
+
show_field(field, index)
|
|
|
|
|
225 |
|
226 |
submitted = st.form_submit_button("Submit")
|
227 |
if submitted:
|