diff --git a/__init__.py b/__init__.py index 183bc51..54c3f46 100644 --- a/__init__.py +++ b/__init__.py @@ -7,7 +7,7 @@ import importlib -version_code = [0, 85, 1] +version_code = [0, 85, 2] version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '') print(f"### Loading: ComfyUI-Inspire-Pack ({version_str})") diff --git a/inspire/lora_block_weight.py b/inspire/lora_block_weight.py index 49f33d5..8d9a7d3 100644 --- a/inspire/lora_block_weight.py +++ b/inspire/lora_block_weight.py @@ -228,7 +228,7 @@ def parse_unet_num(s): last_k_unet_num = k_unet_num - if populated_ratio > 0: + if populated_ratio != 0: new_modelpatcher.add_patches({k: v}, strength_model * populated_ratio) # if inverse: diff --git a/pyproject.toml b/pyproject.toml index 04d8d40..8b2ac38 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui-inspire-pack" description = "This extension provides various nodes to support Lora Block Weight and the Impact Pack. Provides many easily applicable regional features and applications for Variation Seed." -version = "0.85.1" +version = "0.85.2" license = { file = "LICENSE" } dependencies = ["matplotlib", "cachetools"]