aboutsummaryrefslogtreecommitdiff
path: root/modules/img2img.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2024-01-01 16:40:02 +0300
committerGitHub <noreply@github.com>2024-01-01 16:40:02 +0300
commit2a7ad70db5447dd1d5915b2b59715ee74f670119 (patch)
tree3b1b2f5f3648da07430f54d1c155ce379a6fa3f7 /modules/img2img.py
parent0ce67cb61806cf43f4d726d4705a4f6fdc2540e6 (diff)
parentdfd64382211317cc46ad337c373492bfc420fa18 (diff)
Merge pull request #13653 from antfu/feat/interrupted-end
Interrupt after current generation
Diffstat (limited to 'modules/img2img.py')
-rw-r--r--modules/img2img.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/img2img.py b/modules/img2img.py
index 75b3d346..829faa81 100644
--- a/modules/img2img.py
+++ b/modules/img2img.py
@@ -51,7 +51,7 @@ def process_batch(p, input_dir, output_dir, inpaint_mask_dir, args, to_scale=Fal
if state.skipped:
state.skipped = False
- if state.interrupted:
+ if state.interrupted or state.interrupted_next:
break
try: