mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2026-05-17 22:01:19 +08:00
Update nodes.py
This commit is contained in:
parent
9b25146064
commit
a1d759c3cd
6
nodes.py
6
nodes.py
@ -4906,7 +4906,8 @@ class MaskOrImageToWeight:
|
|||||||
FUNCTION = "execute"
|
FUNCTION = "execute"
|
||||||
CATEGORY = "KJNodes"
|
CATEGORY = "KJNodes"
|
||||||
DESCRIPTION = """
|
DESCRIPTION = """
|
||||||
Converts different value lists/series to another type.
|
Gets the mean values from mask or image batch
|
||||||
|
and returns that as the selected output type.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def execute(self, output_type, images=None, masks=None):
|
def execute(self, output_type, images=None, masks=None):
|
||||||
@ -4961,8 +4962,7 @@ class WeightScheduleConvert:
|
|||||||
FUNCTION = "execute"
|
FUNCTION = "execute"
|
||||||
CATEGORY = "KJNodes"
|
CATEGORY = "KJNodes"
|
||||||
DESCRIPTION = """
|
DESCRIPTION = """
|
||||||
Gets the mean value of mask or image
|
Converts different value lists/series to another type.
|
||||||
and returns it as a float value.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def detect_input_type(self, input_values):
|
def detect_input_type(self, input_values):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user