Update app.py
Browse files
app.py
CHANGED
@@ -387,7 +387,7 @@ def qa_list_gen(claim,srl,evidence):
|
|
387 |
if claim_text and evidence_text:
|
388 |
st.caption(':green[Kindly hold on for a few minutes while the QA pairs are being generated]')
|
389 |
srl_list = list(itertools.chain(*[list(s) for s in srl(claim_text)]))
|
390 |
-
qa_list=qa_list_gen(claim_text,srl_list,
|
391 |
list_who = []
|
392 |
list_what = []
|
393 |
list_when = []
|
|
|
387 |
if claim_text and evidence_text:
|
388 |
st.caption(':green[Kindly hold on for a few minutes while the QA pairs are being generated]')
|
389 |
srl_list = list(itertools.chain(*[list(s) for s in srl(claim_text)]))
|
390 |
+
qa_list=qa_list_gen(claim_text,srl_list,evidence_text)
|
391 |
list_who = []
|
392 |
list_what = []
|
393 |
list_when = []
|