From d8cf496704b2fef748a84219e39b687ea719f7b6 Mon Sep 17 00:00:00 2001 From: Kijai <40791699+kijai@users.noreply.github.com> Date: Fri, 17 May 2024 12:09:17 +0300 Subject: [PATCH] Update image_nodes.py --- nodes/image_nodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodes/image_nodes.py b/nodes/image_nodes.py index cf0ba58..0fa04b7 100644 --- a/nodes/image_nodes.py +++ b/nodes/image_nodes.py @@ -16,7 +16,6 @@ from comfy.cli_args import args from comfy.utils import ProgressBar, common_upscale import folder_paths import model_management -import node_helpers script_directory = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) @@ -1357,7 +1356,8 @@ class LoadAndResizeImage: def load_image(self, image, resize, width, height, repeat, keep_proportion, divisible_by, mask_channel): image_path = folder_paths.get_annotated_filepath(image) - + + import node_helpers img = node_helpers.pillow(Image.open, image_path) output_images = []