diff --git a/__init__.py b/__init__.py index a3511ca..f44a113 100644 --- a/__init__.py +++ b/__init__.py @@ -10,6 +10,10 @@ import shutil import subprocess import rembg import comfy +import pillow_avif + +from pillow_heif import register_heif_opener +register_heif_opener() class HttpPostNode: @classmethod diff --git a/requirements.txt b/requirements.txt index 6d2719e..370878e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,5 @@ requests boto3 -rembg \ No newline at end of file +rembg +pillow-avif-plugin +pillow-heif \ No newline at end of file