Spaces:
Runtime error
Runtime error
Update RAG_utils.py
Browse files- RAG_utils.py +1 -1
RAG_utils.py
CHANGED
@@ -403,7 +403,7 @@ class PDFProcessor_Unstructured:
|
|
403 |
'Title not found'.
|
404 |
"""
|
405 |
# Initialize PDF reader
|
406 |
-
pdf_reader =
|
407 |
|
408 |
# Extract document information
|
409 |
meta = pdf_reader.getDocumentInfo()
|
|
|
403 |
'Title not found'.
|
404 |
"""
|
405 |
# Initialize PDF reader
|
406 |
+
pdf_reader = PdfReader(uploaded_file)
|
407 |
|
408 |
# Extract document information
|
409 |
meta = pdf_reader.getDocumentInfo()
|