Remove extract_images flag from PDF loader

This commit is contained in:
sabaimran 2024-11-15 21:46:35 -08:00
parent 15b4cec1e8
commit a1b4587b34

View file

@ -101,7 +101,7 @@ class PdfToEntries(TextToEntries):
tmpf.flush() # Ensure all data is written
# Load the content using PyMuPDFLoader
loader = PyMuPDFLoader(tmpf.name, extract_images=True)
loader = PyMuPDFLoader(tmpf.name)
pdf_entries_per_file = loader.load()
# Convert the loaded entries into the desired format