mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-06-21 07:19:42 +08:00
Fix categories
This commit is contained in:
parent
d6eae98110
commit
c77c53a240
@ -403,7 +403,7 @@ class ImageProcessingNode(io.ComfyNode):
|
|||||||
return io.Schema(
|
return io.Schema(
|
||||||
node_id=cls.node_id,
|
node_id=cls.node_id,
|
||||||
display_name=cls.display_name or cls.node_id,
|
display_name=cls.display_name or cls.node_id,
|
||||||
category="dataset/image",
|
category=cls.category,
|
||||||
is_experimental=True,
|
is_experimental=True,
|
||||||
is_input_list=is_group, # True for group, False for individual
|
is_input_list=is_group, # True for group, False for individual
|
||||||
inputs=inputs,
|
inputs=inputs,
|
||||||
@ -814,7 +814,7 @@ class AdjustContrastNode(ImageProcessingNode):
|
|||||||
class ShuffleDatasetNode(ImageProcessingNode):
|
class ShuffleDatasetNode(ImageProcessingNode):
|
||||||
node_id = "ShuffleDataset"
|
node_id = "ShuffleDataset"
|
||||||
search_aliases=["shuffle", "randomize", "mix"]
|
search_aliases=["shuffle", "randomize", "mix"]
|
||||||
display_name = "Shuffle Image List"
|
display_name = "Shuffle Images"
|
||||||
category = "image/batch"
|
category = "image/batch"
|
||||||
description = "Randomly shuffle the order of images in a list."
|
description = "Randomly shuffle the order of images in a list."
|
||||||
is_group_process = True # Requires full list to shuffle
|
is_group_process = True # Requires full list to shuffle
|
||||||
@ -838,9 +838,10 @@ class ShuffleImageTextDatasetNode(io.ComfyNode):
|
|||||||
def define_schema(cls):
|
def define_schema(cls):
|
||||||
return io.Schema(
|
return io.Schema(
|
||||||
node_id="ShuffleImageTextDataset",
|
node_id="ShuffleImageTextDataset",
|
||||||
search_aliases=["shuffle", "randomize", "mix"]
|
search_aliases=["shuffle", "randomize", "mix"],
|
||||||
display_name = "Shuffle Image-Text List"
|
display_name = "Shuffle Pairs of Image-Text",
|
||||||
category = "image/batch"
|
category = "image/batch",
|
||||||
|
description = "Randomly shuffle the order of pairs of image-text in a list.",
|
||||||
is_experimental=True,
|
is_experimental=True,
|
||||||
is_input_list=True,
|
is_input_list=True,
|
||||||
inputs=[
|
inputs=[
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user