mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-07-27 16:26:39 +00:00
Remove input display_names on nodes where the inputs already have the desired name via id
This commit is contained in:
parent
2b5bd2ace3
commit
fe2cadeaa0
@ -24,7 +24,6 @@ class SaveImage_V3(io.ComfyNodeV3):
|
|||||||
inputs=[
|
inputs=[
|
||||||
io.Image.Input(
|
io.Image.Input(
|
||||||
"images",
|
"images",
|
||||||
display_name="images",
|
|
||||||
tooltip="The images to save.",
|
tooltip="The images to save.",
|
||||||
),
|
),
|
||||||
io.String.Input(
|
io.String.Input(
|
||||||
@ -79,7 +78,6 @@ class PreviewImage_V3(io.ComfyNodeV3):
|
|||||||
inputs=[
|
inputs=[
|
||||||
io.Image.Input(
|
io.Image.Input(
|
||||||
"images",
|
"images",
|
||||||
display_name="images",
|
|
||||||
tooltip="The images to preview.",
|
tooltip="The images to preview.",
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
@ -102,7 +100,6 @@ class LoadImage_V3(io.ComfyNodeV3):
|
|||||||
inputs=[
|
inputs=[
|
||||||
io.Combo.Input(
|
io.Combo.Input(
|
||||||
"image",
|
"image",
|
||||||
display_name="image",
|
|
||||||
image_upload=True,
|
image_upload=True,
|
||||||
image_folder=io.FolderType.input,
|
image_folder=io.FolderType.input,
|
||||||
content_types=["image"],
|
content_types=["image"],
|
||||||
@ -199,7 +196,6 @@ class LoadImageOutput_V3(io.ComfyNodeV3):
|
|||||||
inputs=[
|
inputs=[
|
||||||
io.Combo.Input(
|
io.Combo.Input(
|
||||||
"image",
|
"image",
|
||||||
display_name="image",
|
|
||||||
image_upload=True,
|
image_upload=True,
|
||||||
image_folder=io.FolderType.output,
|
image_folder=io.FolderType.output,
|
||||||
content_types=["image"],
|
content_types=["image"],
|
||||||
|
@ -12,13 +12,10 @@ class MaskPreview_V3(io.ComfyNodeV3):
|
|||||||
def DEFINE_SCHEMA(cls):
|
def DEFINE_SCHEMA(cls):
|
||||||
return io.SchemaV3(
|
return io.SchemaV3(
|
||||||
node_id="MaskPreview_V3",
|
node_id="MaskPreview_V3",
|
||||||
display_name="Convert Mask to Image _V3",
|
display_name="Preview Mask _V3",
|
||||||
category="mask",
|
category="mask",
|
||||||
inputs=[
|
inputs=[
|
||||||
io.Mask.Input(
|
io.Mask.Input("masks"),
|
||||||
"masks",
|
|
||||||
display_name="masks",
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
hidden=[io.Hidden.prompt, io.Hidden.extra_pnginfo],
|
hidden=[io.Hidden.prompt, io.Hidden.extra_pnginfo],
|
||||||
is_output_node=True,
|
is_output_node=True,
|
||||||
|
@ -21,13 +21,9 @@ class WebcamCapture_V3(io.ComfyNodeV3):
|
|||||||
display_name="Webcam Capture _V3",
|
display_name="Webcam Capture _V3",
|
||||||
category="image",
|
category="image",
|
||||||
inputs=[
|
inputs=[
|
||||||
io.Webcam.Input(
|
io.Webcam.Input("image"),
|
||||||
"image",
|
|
||||||
display_name="image",
|
|
||||||
),
|
|
||||||
io.Int.Input(
|
io.Int.Input(
|
||||||
"width",
|
"width",
|
||||||
display_name="width",
|
|
||||||
default=0,
|
default=0,
|
||||||
min=0,
|
min=0,
|
||||||
max=MAX_RESOLUTION,
|
max=MAX_RESOLUTION,
|
||||||
@ -35,21 +31,15 @@ class WebcamCapture_V3(io.ComfyNodeV3):
|
|||||||
),
|
),
|
||||||
io.Int.Input(
|
io.Int.Input(
|
||||||
"height",
|
"height",
|
||||||
display_name="height",
|
|
||||||
default=0,
|
default=0,
|
||||||
min=0,
|
min=0,
|
||||||
max=MAX_RESOLUTION,
|
max=MAX_RESOLUTION,
|
||||||
step=1,
|
step=1,
|
||||||
),
|
),
|
||||||
io.Boolean.Input(
|
io.Boolean.Input("capture_on_queue", default=True),
|
||||||
"capture_on_queue",
|
|
||||||
default=True,
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
outputs=[
|
outputs=[
|
||||||
io.Image.Output(
|
io.Image.Output("IMAGE"),
|
||||||
"IMAGE",
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user