Spaces:
Runtime error
Runtime error
Update RAG_utils.py
Browse files- 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:
|