From f1bf4485c1d83a2ca218f659cdfce8e431bd0b90 Mon Sep 17 00:00:00 2001 From: wl-zhao Date: Fri, 18 Oct 2024 14:05:58 +0800 Subject: [PATCH] update validate inputs --- 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 4cf9db5..e2b25fc 100755 --- a/comfy-nodes/input_image.py +++ b/comfy-nodes/input_image.py @@ -51,8 +51,8 @@ class ShellAgentPluginInputImage: return schema @classmethod - def VALIDATE_INPUTS(s, **kwargs): - image = kwargs.get("default_value", "") + def VALIDATE_INPUTS(s, input_name, default_value, description=""): + image = default_value if image.startswith("http"): return True