From e9199161ea0c373cb6832c8a0e981d3e92fb84f5 Mon Sep 17 00:00:00 2001 From: shanexi Date: Tue, 15 Oct 2024 10:18:14 +0800 Subject: [PATCH] Force input --- comfy-nodes/input_image.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/comfy-nodes/input_image.py b/comfy-nodes/input_image.py index 3fa5a8b..5abbea7 100755 --- a/comfy-nodes/input_image.py +++ b/comfy-nodes/input_image.py @@ -17,17 +17,17 @@ class ShellAgentPluginInputImage: "required": { "input_name": ( "STRING", - {"multiline": False, "default": "input_image"}, + {"multiline": False, "default": "input_image", "forceInput": True}, ), "default_value": ( # "STRING", {"image_upload": True, "default": files[0] if len(files) else ""}, - sorted(files), {"image_upload": True} + sorted(files), {"image_upload": True, "forceInput": True} ), }, "optional": { "description": ( "STRING", - {"multiline": True, "default": ""}, + {"multiline": True, "default": "", "forceInput": True}, ), } }