Skip to content

Commit

Permalink
fix: 이렇게 코딩하시면 헷갈려요
Browse files Browse the repository at this point in the history
  • Loading branch information
Bing-su committed Jan 23, 2024
1 parent 3b2609d commit 8f01dfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/!adetailer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8f01dfd

Please sign in to comment.