Update app.py
Browse files
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
|
25 |
-
sentence_2= st.text_area('Enter
|
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")
|