Compare commits

..
3 Commits
4 changed files with 14 additions and 4 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ This custom node helps to conveniently enhance images through Detector, Detailer
### ControlNet, IPAdapter
* `ControlNetApply (SEGS)` - To apply ControlNet in SEGS, you need to use the Preprocessor Provider node from the Inspire Pack to utilize this node.
* `segs_preprocessor` and `control_image` can be selectively applied. If an `control_image` is given, `segs_preprocessor` will be ignored.
* `segs_preprocessor` and `control_image` can be selectively applied. If a `control_image` is given, `segs_preprocessor` will be ignored.
* If set to `control_image`, you can preview the cropped cnet image through `SEGSPreview (CNET Image)`. Images generated by `segs_preprocessor` should be verified through the `cnet_images` output of each Detailer.
* The `segs_preprocessor` operates by applying preprocessing on-the-fly based on the cropped image during the detailing process, while `control_image` will be cropped and used as input to `ControlNetApply (SEGS)`.
* `ControlNetClear (SEGS)` - Clear applied ControlNet in SEGS
+1 -1
View File
@@ -1,7 +1,7 @@
import configparser
import os
version_code = [7, 14]
version_code = [7, 14, 2]
version = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')
dependency_version = 24
+11 -1
View File
@@ -52,7 +52,10 @@ class GeneralSwitch:
print(f"SELECTED: {input_name}")
return [input_name]
if input_name in kwargs:
return [input_name]
else:
return []
@staticmethod
def doit(*args, **kwargs):
@@ -62,6 +65,13 @@ class GeneralSwitch:
selected_label = input_name
node_id = kwargs['unique_id']
if input_name not in kwargs:
if core.is_execution_model_version_supported():
from comfy_execution.graph import ExecutionBlocker
return ExecutionBlocker(None), selected_label, selected_index
else:
print("[Impact Pack] ImpactSwitch: ComfyUI is outdated. Cannot block empty selection.")
if 'extra_pnginfo' in kwargs and kwargs['extra_pnginfo'] is not None:
nodelist = kwargs['extra_pnginfo']['workflow']['nodes']
for node in nodelist:
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "comfyui-impact-pack"
description = "This extension offers various detector nodes and detailer nodes that allow you to configure a workflow that automatically enhances facial details. And provide iterative upscaler."
version = "7.14"
version = "7.14.2"
license = { file = "LICENSE.txt" }
dependencies = ["segment-anything", "scikit-image", "piexif", "transformers", "opencv-python-headless", "GitPython", "scipy>=1.11.4"]