Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,14 @@ def proc():
|
|
62 |
|
63 |
claim_text=st.text_area("Enter your claim:", on_change=proc, key='text_key')
|
64 |
|
65 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
|
67 |
if evidence_text:
|
68 |
st.caption(':green[Kindly hold on for a few minutes while the QA pairs are being generated]')
|
|
|
62 |
|
63 |
claim_text=st.text_area("Enter your claim:", on_change=proc, key='text_key')
|
64 |
|
65 |
+
|
66 |
+
|
67 |
+
|
68 |
+
# evidence_text=st.text_area("Enter your evidence:")
|
69 |
+
|
70 |
+
form = st.form(key='my_form')
|
71 |
+
form.text_input(label='Enter your evidence')
|
72 |
+
evidence_text = form.form_submit_button(label='Submit')
|
73 |
|
74 |
if evidence_text:
|
75 |
st.caption(':green[Kindly hold on for a few minutes while the QA pairs are being generated]')
|