lfoppiano commited on
Commit
a5de09e
1 Parent(s): 64eade5

fix breaking change in API

Browse files
Files changed (1) hide show
  1. document_qa/document_qa_engine.py +1 -1
document_qa/document_qa_engine.py CHANGED
@@ -494,7 +494,7 @@ class DocumentQAEngine:
494
  print("File", pdf_file_path)
495
  filename = Path(pdf_file_path).stem
496
  coordinates = True # if chunk_size == -1 else False
497
- structure = self.grobid_processor.process(pdf_file_path, coordinates=coordinates)
498
 
499
  biblio = structure['biblio']
500
  biblio['filename'] = filename.replace(" ", "_")
 
494
  print("File", pdf_file_path)
495
  filename = Path(pdf_file_path).stem
496
  coordinates = True # if chunk_size == -1 else False
497
+ structure = self.grobid_processor.process_structure(pdf_file_path, coordinates=coordinates)
498
 
499
  biblio = structure['biblio']
500
  biblio['filename'] = filename.replace(" ", "_")