mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-03-13 09:20:09 +00:00
fix: 이렇게 코딩하시면 헷갈려요
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user