fix: 이렇게 코딩하시면 헷갈려요

This commit is contained in:
Dowon
2024-01-23 22:20:55 +09:00
parent 3b2609d533
commit 8f01dfdaa9

View File

@@ -522,7 +522,7 @@ class AfterDetailerScript(scripts.Script):
if args.ad_controlnet_model not in ["None", "Passthrough"]:
self.update_controlnet_args(i2i, args)
elif args.ad_controlnet_model != "Passthrough":
elif args.ad_controlnet_model == "None":
i2i.control_net_enabled = False
return i2i