From 0599875a7902fd660f2280d7b57aafab50ebea5d Mon Sep 17 00:00:00 2001 From: shanexi Date: Wed, 12 Mar 2025 14:55:39 +0800 Subject: [PATCH] fix: input image error in new comfyui version --- comfy-nodes/input_image.py | 2 +- web/shellagent.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/comfy-nodes/input_image.py b/comfy-nodes/input_image.py index 83e7e79..3dd6230 100755 --- a/comfy-nodes/input_image.py +++ b/comfy-nodes/input_image.py @@ -57,7 +57,7 @@ class ShellAgentPluginInputImage: "optional": { "description": ( "STRING", - {"multiline": True, "default": "", "forceInput": False}, + {"multiline": False, "default": "", "forceInput": False}, ), } } diff --git a/web/shellagent.js b/web/shellagent.js index 78781fd..8480e4a 100644 --- a/web/shellagent.js +++ b/web/shellagent.js @@ -171,7 +171,7 @@ app.registerExtension({ ) { nodeData.input.required.upload = [ "IMAGEUPLOAD", - { widget: "default_value" }, + { widget: "default_value", imageInputName: "default_value", image_upload: true }, ]; } }