diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2024-01-01 16:40:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-01 16:40:02 +0300 |
commit | 2a7ad70db5447dd1d5915b2b59715ee74f670119 (patch) | |
tree | 3b1b2f5f3648da07430f54d1c155ce379a6fa3f7 /modules/img2img.py | |
parent | 0ce67cb61806cf43f4d726d4705a4f6fdc2540e6 (diff) | |
parent | dfd64382211317cc46ad337c373492bfc420fa18 (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.py | 2 |
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:
|