diff --git a/README.MD b/README.MD index c9c3604..749425c 100644 --- a/README.MD +++ b/README.MD @@ -147,6 +147,7 @@ When this error has occurred, please check the network environment. **If the dependency package error after updating, please double clicking ```repair_dependency.bat``` (for Official ComfyUI Protable) or ```repair_dependency_aki.bat``` (for ComfyUI-aki-v1.x) in the plugin folder to reinstall the dependency packages.
+* [PurgeVRAM](#PurgeVRAM) node add any output. * Commit [ChoiceTextPreset](#ChoiceTextPreset) and [TextPreseter](#TextPreseter) nodes, used for preset text and selecting preset text output. * [StringCondition](#StringCondition) add the option of comparing strings to determine if they are the same. * Commit [NameToColor](#NameToColor) node, Output colors based on their names. diff --git a/README_CN.MD b/README_CN.MD index c75e0b1..292ace8 100644 --- a/README_CN.MD +++ b/README_CN.MD @@ -128,6 +128,7 @@ os.environ['HF_ENDPOINT'] = 'https://hf-mirror.com' ## 更新说明 **如果本插件更新后出现依赖包错误,请双击运行插件目录下的```install_requirements.bat```(官方便携包),或 ```install_requirements_aki.bat```(秋叶整合包) 重新安装依赖包。 +* [PurgeVRAM](#PurgeVRAM)增加any输出。 * 添加 [ChoiceTextPreset](#ChoiceTextPreset) 和 [TextPreseter](#TextPreseter) 节点,用于预设文本和选择预设文本输出。 * [StringCondition](#StringCondition) 节点增加比较字符串是否相同功能。 * 添加 [NameToColor](#NameToColor)节点,根据颜色名称输出颜色。 diff --git a/image/purge_vram_example.jpg b/image/purge_vram_example.jpg index 981dfff..ad6d44b 100644 Binary files a/image/purge_vram_example.jpg and b/image/purge_vram_example.jpg differ diff --git a/py/purge_vram.py b/py/purge_vram.py index 78bde0f..92429f3 100644 --- a/py/purge_vram.py +++ b/py/purge_vram.py @@ -22,7 +22,9 @@ class PurgeVRAM: } } - RETURN_TYPES = () + + RETURN_TYPES = (any,) + RETURN_NAMES = ("any",) FUNCTION = "purge_vram" CATEGORY = '😺dzNodes/LayerUtility/SystemIO' OUTPUT_NODE = True @@ -32,7 +34,7 @@ class PurgeVRAM: if purge_models: comfy.model_management.unload_all_models() comfy.model_management.soft_empty_cache() - return (None,) + return (anything,) NODE_CLASS_MAPPINGS = { diff --git a/pyproject.toml b/pyproject.toml index a7b1442..e7ecd0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = "2.0.13" +version = "2.0.14" license = "MIT" dependencies = ["numpy", "pillow", "torch", "matplotlib", "Scipy", "scikit_image", "scikit_learn", "opencv-contrib-python", "pymatting", "timm", "colour-science", "transformers", "blend_modes", "huggingface_hub", "loguru"]