Update app.py
Browse files
app.py
CHANGED
@@ -391,7 +391,7 @@ def qa_list_gen(claim,srl_list,evidence):
|
|
391 |
#-------------------------------------------------------------------------
|
392 |
# Handle form submission
|
393 |
if submitted and claim_text and evidence_text:
|
394 |
-
if not claim_text or not
|
395 |
st.warning("You need to input both the claim and evidence and then press Submit")
|
396 |
else:
|
397 |
st.caption(':green[Kindly hold on for a few minutes while the QA pairs are being generated]')
|
|
|
391 |
#-------------------------------------------------------------------------
|
392 |
# Handle form submission
|
393 |
if submitted and claim_text and evidence_text:
|
394 |
+
if not claim_text or not evidence_text:
|
395 |
st.warning("You need to input both the claim and evidence and then press Submit")
|
396 |
else:
|
397 |
st.caption(':green[Kindly hold on for a few minutes while the QA pairs are being generated]')
|