MJobe commited on
Commit
3fa2b10
·
1 Parent(s): 40ddb7d

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -47,7 +47,7 @@ async def perform_document_qa(
47
  # Perform document question answering for each question using BERT-based model
48
  answers_dict = {}
49
  for question in question_list:
50
- result = nlp({
51
  'question': question,
52
  'context': text_content
53
  })
 
47
  # Perform document question answering for each question using BERT-based model
48
  answers_dict = {}
49
  for question in question_list:
50
+ result = nlp_qa({
51
  'question': question,
52
  'context': text_content
53
  })