Towhidul commited on
Commit
be9ee7e
·
1 Parent(s): bcce480

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 claim_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]')
 
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]')