diff --git a/scripts/!adetailer.py b/scripts/!adetailer.py index 6cc5110..6e4c7ea 100644 --- a/scripts/!adetailer.py +++ b/scripts/!adetailer.py @@ -522,7 +522,7 @@ def get_i2i_p(self, p, args: ADetailerArgs, image): 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