mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-08 05:39:13 +00:00
Remove extract_images flag from PDF loader
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user