Skip to content

Commit

Permalink
chore: change pillow-heif to pi-heif for license reasons
Browse files Browse the repository at this point in the history
more infos see issue Unstructured-IO#2664
  • Loading branch information
joennlae committed Mar 18, 2024
1 parent 6af6604 commit c85bae8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements/extra-pdf-image.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ onnx
pdf2image
pdfminer.six
pikepdf
pillow_heif
pi_heif
pypdf
# Do not move to constraints.in, otherwise unstructured-inference will not be upgraded
# when unstructured library is.
Expand Down
2 changes: 1 addition & 1 deletion unstructured/partition/pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
from pdfminer.pdftypes import PDFObjRef
from pdfminer.utils import open_filename
from PIL import Image as PILImage
from pillow_heif import register_heif_opener
from pi_heif import register_heif_opener

from unstructured.chunking import add_chunking_strategy
from unstructured.cleaners.core import (
Expand Down

0 comments on commit c85bae8

Please sign in to comment.