From 393bca416d25fe6bb955dd483c9ed069f6a20ad3 Mon Sep 17 00:00:00 2001 From: Jedrzej Kosinski Date: Sat, 28 Dec 2024 14:43:23 -0600 Subject: [PATCH 1/3] Fix Load CtrLoRA Model node being in the wrong category --- adv_control/nodes_ctrlora.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/adv_control/nodes_ctrlora.py b/adv_control/nodes_ctrlora.py index 261dde4..d0b154f 100644 --- a/adv_control/nodes_ctrlora.py +++ b/adv_control/nodes_ctrlora.py @@ -16,7 +16,7 @@ class CtrLoRALoader: RETURN_TYPES = ("CONTROL_NET",) FUNCTION = "load_controlnet_plusplus" - CATEGORY = "Adv-ControlNet 🛂🅐🅒🅝/ControlNet++" + CATEGORY = "Adv-ControlNet 🛂🅐🅒🅝/CtrLoRA" def load_controlnet_plusplus(self, base: str, lora: str): base_path = folder_paths.get_full_path("controlnet", base) diff --git a/pyproject.toml b/pyproject.toml index fd34dab..e166b84 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui-advanced-controlnet" description = "Nodes for scheduling ControlNet strength across timesteps and batched latents, as well as applying custom weights and attention masks." -version = "1.4.1" +version = "1.4.2" license = { file = "LICENSE" } dependencies = [] From 840b3f9423de97636adade793b68b34634db5c53 Mon Sep 17 00:00:00 2001 From: Jedrzej Kosinski Date: Sat, 28 Dec 2024 14:45:03 -0600 Subject: [PATCH 2/3] Add link to CtrLoRA repo on top of control_ctrlora.py file --- adv_control/control_ctrlora.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/adv_control/control_ctrlora.py b/adv_control/control_ctrlora.py index 03e192f..5b3fbf4 100644 --- a/adv_control/control_ctrlora.py +++ b/adv_control/control_ctrlora.py @@ -1,3 +1,5 @@ +# Core code adapted from CtrLoRA github repo: +# https://github.com/xyfJASON/ctrlora import torch from torch import Tensor From 8d230c98d231b660af3f928c36734f7612c40309 Mon Sep 17 00:00:00 2001 From: Jedrzej Kosinski Date: Sat, 28 Dec 2024 14:46:54 -0600 Subject: [PATCH 3/3] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 685bb50..b44d912 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,9 @@ ControlNet preprocessors are available through [comfyui_controlnet_aux](https:// - uncond_multiplier=0.0 gives identical results of auto1111's feature, but values between 0.0 and 1.0 can be used without issue to granularly control the setting. - ControlNet, T2IAdapter, and ControlLoRA support for sliding context windows - ControlLLLite support +- ControlNet++ support +- CtrLoRA support + - Relevant models linked on [CtrLoRA github page](https://github.com/xyfJASON/ctrlora) - SparseCtrl support - SVD-ControlNet support - Stable Video Diffusion ControlNets trained by **CiaraRowles**: [Depth](https://huggingface.co/CiaraRowles/temporal-controlnet-depth-svd-v1/tree/main/controlnet), [Lineart](https://huggingface.co/CiaraRowles/temporal-controlnet-lineart-svd-v1/tree/main/controlnet)