diff --git a/modules/impact/bridge_nodes.py b/modules/impact/bridge_nodes.py index 22dbc54..58f12b8 100644 --- a/modules/impact/bridge_nodes.py +++ b/modules/impact/bridge_nodes.py @@ -230,7 +230,7 @@ class PreviewBridgeLatent: latent_channels = latent['samples'].shape[1] preview_method_channels = 16 if 'SD3' in preview_method or 'SC-Prior' in preview_method else 4 - if latent_channels != preview_method_channels: + if vae_opt is None and latent_channels != preview_method_channels: print(f"[PreviewBridgeLatent] The version of latent is not compatible with preview_method.\nSD3, SD1/SD2, SDXL, SC-Prior, and SC-B are not compatible with each other.") raise Exception("The version of latent is not compatible with preview_method.
SD3, SD1/SD2, SDXL, SC-Prior, and SC-B are not compatible with each other.") diff --git a/modules/impact/config.py b/modules/impact/config.py index b49cd4f..d12dffb 100644 --- a/modules/impact/config.py +++ b/modules/impact/config.py @@ -1,7 +1,7 @@ import configparser import os -version_code = [5, 13, 1] +version_code = [5, 13, 2] version = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '') dependency_version = 21 diff --git a/pyproject.toml b/pyproject.toml index 35e37f4..88216b8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = "5.13.1" +version = "5.13.2" license = "LICENSE" dependencies = ["segment-anything", "scikit-image", "piexif", "transformers", "opencv-python-headless", "GitPython", "scipy>=1.11.4"]