aboutsummaryrefslogtreecommitdiffstats
path: root/modules/processing.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/processing.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/processing.py')
-rw-r--r--modules/processing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/processing.py b/modules/processing.py
index 40598f5c..e7eecd66 100644
--- a/modules/processing.py
+++ b/modules/processing.py
@@ -819,7 +819,7 @@ def process_images_inner(p: StableDiffusionProcessing) -> Processed:
if state.skipped:
state.skipped = False
- if state.interrupted:
+ if state.interrupted or state.interrupted_next:
break
sd_models.reload_model_weights() # model can be changed for example by refiner