fix: missing skip condition

This commit is contained in:
Dowon
2023-10-15 17:17:51 +09:00
parent a66a331710
commit ba13cf430f

View File

@@ -102,7 +102,7 @@ def preseve_prompts(p):
@contextmanager
def change_skip_img2img_args(p):
if not hasattr(p, "_ad_skip_img2img"):
if not hasattr(p, "_ad_skip_img2img") or not p._ad_skip_img2img:
yield
else:
steps = p.steps