Skip to content

Commit 906ef7f

Browse files
committed
Remove exception when ControlNet++ is detected and not using ControlNet++ nodes
1 parent a895854 commit 906ef7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adv_control/control.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ def load_controlnet(ckpt_path, timestep_keyframe: TimestepKeyframeGroup=None, mo
545545
has_temporal_res_block_key = True
546546
# ControlNet++ check
547547
elif "task_embedding" in key:
548-
raise Exception("ControlNet++ model detected; must be loaded using the Load ControlNet++ Model nodes.")
548+
pass
549549

550550
if has_controlnet_key and has_motion_modules_key:
551551
controlnet_type = ControlWeightType.SPARSECTRL

0 commit comments

Comments
 (0)