mirror of
https://github.com/VectifyAI/PageIndex.git
synced 2026-07-24 21:41:04 +02:00
chore: fix stale 'optional extra' wording in comment
This commit is contained in:
parent
5fc1b81c62
commit
dcf58f1f9c
1 changed files with 3 additions and 3 deletions
|
|
@ -19,9 +19,9 @@ class PdfParser:
|
|||
model = kwargs.get("model")
|
||||
images_dir = kwargs.get("images_dir")
|
||||
|
||||
# Images are extracted with PyMuPDF (optional extra); text stays with
|
||||
# PyPDF2 below so the extracted text — and therefore the tree — matches
|
||||
# the CLI / pre-SDK default.
|
||||
# Images are extracted with PyMuPDF (optional); text stays with PyPDF2
|
||||
# below so the extracted text — and therefore the tree — matches the
|
||||
# CLI / pre-SDK default.
|
||||
page_images = self._extract_images(path, images_dir) if images_dir else {}
|
||||
|
||||
reader = PyPDF2.PdfReader(str(path))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue