This commit is contained in:
Chris
2025-01-01 18:19:30 +11:00
parent 49b151fc07
commit 2e91ae85f6
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
@description: A custom node that pauses the flow while you choose which image or images to pass on to the rest of the workflow. Simplified and improved version of cg-image-picker.
"""
from .image_filter import ImageFilter, TextImageFilter, MaskEditFilter
from .image_filter import ImageFilter, TextImageFilter, MaskImageFilter
VERSION = "0.1"
WEB_DIRECTORY = "./js"
@@ -13,7 +13,7 @@ WEB_DIRECTORY = "./js"
NODE_CLASS_MAPPINGS= {
"Image Filter": ImageFilter,
"Text Image Filter": TextImageFilter,
"Mask Edit Filter": MaskEditFilter
"Mask Image Filter": MaskImageFilter
}
__all__ = ["NODE_CLASS_MAPPINGS", "WEB_DIRECTORY"]
+1 -1
View File
@@ -111,7 +111,7 @@ class TextImageFilter(PreviewImage):
return (image, response)
class MaskEditFilter(PreviewImage, LoadImage):
class MaskImageFilter(PreviewImage, LoadImage):
RETURN_TYPES = ("IMAGE","MASK")
RETURN_NAMES = ("image","mask")
FUNCTION = "func"