Chatop commited on
Commit
bb34b34
1 Parent(s): ece3786

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,8 +21,8 @@ def main():
21
  st.title("Question & Answering")
22
 
23
  with st.form("text_field"):
24
- sentence_1= st.text_area('Enter Q1:')
25
- sentence_2= st.text_area('Enter Q2:')
26
  QA_input = {'question':sentence_1, 'context':sentence_2}
27
  #clicked==True only when the button is clicked
28
  clicked = st.form_submit_button("Submit")
21
  st.title("Question & Answering")
22
 
23
  with st.form("text_field"):
24
+ sentence_1= st.text_area('Enter question:')
25
+ sentence_2= st.text_area('Enter context:')
26
  QA_input = {'question':sentence_1, 'context':sentence_2}
27
  #clicked==True only when the button is clicked
28
  clicked = st.form_submit_button("Submit")