fix bug of If and SwitchCase node

This commit is contained in:
chflame163
2024-08-20 21:29:15 +08:00
parent 9a3530c272
commit e8a120288c
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -376,7 +376,7 @@ class IfExecute:
}
RETURN_TYPES = (any,)
RETURN_NAMES = "?"
RETURN_NAMES = ("?",)
FUNCTION = "if_execute"
CATEGORY = '😺dzNodes/LayerUtility/Data'
@@ -403,7 +403,7 @@ class SwitchCaseNode:
}
RETURN_TYPES = (any,)
RETURN_NAMES = "?"
RETURN_NAMES = ("?",)
FUNCTION = "switch_case"
CATEGORY = '😺dzNodes/LayerUtility/Data'
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "comfyui_layerstyle"
description = "A set of nodes for ComfyUI it generate image like Adobe Photoshop's Layer Style. the Drop Shadow is first completed node, and follow-up work is in progress."
version = "1.0.23"
version = "1.0.24"
license = "MIT"
dependencies = ["numpy", "pillow", "torch", "matplotlib", "Scipy", "scikit_image", "opencv-contrib-python", "pymatting", "segment_anything", "timm", "addict", "yapf", "colour-science", "wget", "mediapipe", "loguru", "typer_config", "fastapi", "rich", "google-generativeai", "diffusers", "omegaconf", "tqdm", "transformers", "kornia", "image-reward", "ultralytics", "blend_modes", "blind-watermark", "qrcode", "pyzbar", "transparent-background", "huggingface_hub", "psd-tools"]