From 906ef7f2c6989506f9fd66779a90ba5fa42a8c78 Mon Sep 17 00:00:00 2001 From: Jedrzej Kosinski Date: Thu, 18 Jul 2024 14:05:40 -0500 Subject: [PATCH] Remove exception when ControlNet++ is detected and not using ControlNet++ nodes --- adv_control/control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adv_control/control.py b/adv_control/control.py index 27e3d84..112bbe1 100644 --- a/adv_control/control.py +++ b/adv_control/control.py @@ -545,7 +545,7 @@ def load_controlnet(ckpt_path, timestep_keyframe: TimestepKeyframeGroup=None, mo has_temporal_res_block_key = True # ControlNet++ check elif "task_embedding" in key: - raise Exception("ControlNet++ model detected; must be loaded using the Load ControlNet++ Model nodes.") + pass if has_controlnet_key and has_motion_modules_key: controlnet_type = ControlWeightType.SPARSECTRL