aboutsummaryrefslogtreecommitdiffstats
path: root/modules/img2img.py
diff options
context:
space:
mode:
authorAnthony Fu <anthonyfu117@hotmail.com>2023-10-16 06:12:18 +0000
committerAnthony Fu <anthonyfu117@hotmail.com>2023-10-16 06:12:18 +0000
commit8aa13d5dce2789a7d0bd802e6d62453b3c380496 (patch)
tree6515dee9cb709d716cf233452a481dfe6fca2d5d /modules/img2img.py
parent861cbd56363ffa0df3351cf1162f507425a178cd (diff)
downloadstable-diffusion-webui-gfx803-8aa13d5dce2789a7d0bd802e6d62453b3c380496.tar.gz
stable-diffusion-webui-gfx803-8aa13d5dce2789a7d0bd802e6d62453b3c380496.tar.bz2
stable-diffusion-webui-gfx803-8aa13d5dce2789a7d0bd802e6d62453b3c380496.zip
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 52cb577a..31f8c2aa 100644
--- a/modules/img2img.py
+++ b/modules/img2img.py
@@ -49,7 +49,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: