Skip to content

Commit 0599875

Browse files
committed
fix: input image error in new comfyui version
1 parent 33899c1 commit 0599875

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

comfy-nodes/input_image.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def INPUT_TYPES(s):
5757
"optional": {
5858
"description": (
5959
"STRING",
60-
{"multiline": True, "default": "", "forceInput": False},
60+
{"multiline": False, "default": "", "forceInput": False},
6161
),
6262
}
6363
}

web/shellagent.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ app.registerExtension({
171171
) {
172172
nodeData.input.required.upload = [
173173
"IMAGEUPLOAD",
174-
{ widget: "default_value" },
174+
{ widget: "default_value", imageInputName: "default_value", image_upload: true },
175175
];
176176
}
177177
}

0 commit comments

Comments
 (0)