kpal002 commited on
Commit
de31a83
1 Parent(s): 8ae147a

Update RAG_utils.py

Browse files
Files changed (1) hide show
  1. RAG_utils.py +1 -1
RAG_utils.py CHANGED
@@ -458,7 +458,7 @@ class PDFProcessor_Unstructured:
458
  try:
459
  logging.debug(f"Processing PDF at {self.file_path}")
460
  results = self.process_pdf()
461
- title = extract_title_from_pdf(self.file_path)
462
  logging.info("PDF processing completed successfully.")
463
  return results, title
464
  except Exception as e:
 
458
  try:
459
  logging.debug(f"Processing PDF at {self.file_path}")
460
  results = self.process_pdf()
461
+ title = self.extract_title_from_pdf(self.file_path)
462
  logging.info("PDF processing completed successfully.")
463
  return results, title
464
  except Exception as e: