From 6000e1efa8da1eef8df7d837e716f1bd9c269be2 Mon Sep 17 00:00:00 2001 From: "Dr.Lt.Data" Date: Tue, 2 Jul 2024 21:18:40 +0900 Subject: [PATCH] update README.md https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/662 --- README.md | 8 ++++---- modules/impact/logics.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5bd3b41..6647232 100644 --- a/README.md +++ b/README.md @@ -240,6 +240,7 @@ This custom node helps to conveniently enhance images through Detector, Detailer * These nodes are experimental nodes designed to implement the logic for loops and dynamic switching. * `ImpactCompare`, `ImpactConditionalBranch`, `ImpactConditionalBranchSelMode`, `ImpactInt`, `ImpactValueSender`, `ImpactValueReceiver`, `ImpactImageInfo`, `ImpactMinMax`, `ImpactNeg`, `ImpactConditionalStopIteration` * `ImpactIsNotEmptySEGS` - This node returns `true` only if the input SEGS is not empty. + * `ImpactIfNone` - Returns `true` if any_input is None, and returns `false` if it is not None. * `Queue Trigger` - When this node is executed, it adds a new queue to assist with repetitive tasks. It will only execute if the signal's status changes. * `Queue Trigger (Countdown)` - Like the Queue Trigger, it adds a queue, but only adds it if it's greater than 1, and decrements the count by one each time it runs. * `Sleep` - Waits for the specified time (in seconds). @@ -337,10 +338,9 @@ mmdet_skip = False 6. Restart ComfyUI -* NOTE: If an error occurs during the installation process, please refer to [Troubleshooting Page](troubleshooting/TROUBLESHOOTING.md) for assistance. -* You can use this colab notebook [colab notebook](https://colab.research.google.com/github/ltdrdata/ComfyUI-Impact-Pack/blob/Main/notebook/comfyui_colab_impact_pack.ipynb) to launch it. This notebook automatically downloads the impact pack to the custom_nodes directory, installs the tested dependencies, and runs it. - -* If you create an empty file named `skip_download_model` in the `ComfyUI/custom_nodes/` directory, it will skip the model download step during the installation of the impact pack. +* NOTE1: If an error occurs during the installation process, please refer to [Troubleshooting Page](troubleshooting/TROUBLESHOOTING.md) for assistance. +* NOTE2: You can use this colab notebook [colab notebook](https://colab.research.google.com/github/ltdrdata/ComfyUI-Impact-Pack/blob/Main/notebook/comfyui_colab_impact_pack.ipynb) to launch it. This notebook automatically downloads the impact pack to the custom_nodes directory, installs the tested dependencies, and runs it. +* NOTE3: If you create an empty file named `skip_download_model` in the `ComfyUI/custom_nodes/` directory, it will skip the model download step during the installation of the impact pack. ## Package Dependencies (If you need to manual setup.) diff --git a/modules/impact/logics.py b/modules/impact/logics.py index 1a881be..043198e 100644 --- a/modules/impact/logics.py +++ b/modules/impact/logics.py @@ -150,7 +150,7 @@ class ImpactIfNone: "optional": {"signal": (any_typ,), "any_input": (any_typ,), } } - RETURN_TYPES = (any_typ, "BOOLEAN", ) + RETURN_TYPES = (any_typ, "BOOLEAN") RETURN_NAMES = ("signal_opt", "bool") FUNCTION = "doit"