mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 15:38:55 +01:00
Remove extract_images flag from PDF loader
This commit is contained in:
parent
15b4cec1e8
commit
a1b4587b34
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue