From 60d68d99ef4f4d9d2a666367b84747502b1a8147 Mon Sep 17 00:00:00 2001 From: wl-zhao Date: Thu, 17 Oct 2024 23:40:42 +0800 Subject: [PATCH] fix input image bug --- comfy-nodes/input_image.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/comfy-nodes/input_image.py b/comfy-nodes/input_image.py index 4fdf744..4cf9db5 100755 --- a/comfy-nodes/input_image.py +++ b/comfy-nodes/input_image.py @@ -51,7 +51,8 @@ class ShellAgentPluginInputImage: return schema @classmethod - def VALIDATE_INPUTS(s, image): + def VALIDATE_INPUTS(s, **kwargs): + image = kwargs.get("default_value", "") if image.startswith("http"): return True