IsaacKerson commited on
Commit
b30b0d3
1 Parent(s): 42104dc

fix form submit error

Browse files
Files changed (1) hide show
  1. pages/quiz.py +1 -1
pages/quiz.py CHANGED
@@ -87,5 +87,5 @@ def app():
87
  with st.form("sentence_completion"):
88
  for q in questions:
89
  st.text_input(f'{q[0] + 1}. {q[3]}', key=q[0], placeholder="Type answer here")
90
- st.form_submit_button(label="Submit", on_click=form_callback, args=(questions,))
91
 
 
87
  with st.form("sentence_completion"):
88
  for q in questions:
89
  st.text_input(f'{q[0] + 1}. {q[3]}', key=q[0], placeholder="Type answer here")
90
+ st.form_submit_button(label="Submit", on_click=form_callback, args=(questions,))
91