From ad8715f3a2ff74e36d2a6a186d32f84dc154b37a Mon Sep 17 00:00:00 2001 From: wl-zhao Date: Thu, 17 Oct 2024 23:21:31 +0800 Subject: [PATCH] fix input image bug --- comfy-nodes/input_image.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/comfy-nodes/input_image.py b/comfy-nodes/input_image.py index eca4375..df72f6b 100755 --- a/comfy-nodes/input_image.py +++ b/comfy-nodes/input_image.py @@ -57,8 +57,8 @@ class ShellAgentPluginInputImage: if image_path.startswith('http'): import requests from io import BytesIO - print("Fetching image from url: ", image) - response = requests.get(image) + print("Fetching image from url: ", image_path) + response = requests.get(image_path) image = Image.open(BytesIO(response.content)) elif image_path.startswith('data:image/png;base64,') or image_path.startswith('data:image/jpeg;base64,') or image_path.startswith('data:image/jpg;base64,'): import base64