aboutsummaryrefslogtreecommitdiff
path: root/modules/processing.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/processing.py
parent0ce67cb61806cf43f4d726d4705a4f6fdc2540e6 (diff)
parentdfd64382211317cc46ad337c373492bfc420fa18 (diff)
Merge pull request #13653 from antfu/feat/interrupted-end
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 f0656882..00de2ed2 100644
--- a/modules/processing.py
+++ b/modules/processing.py
@@ -865,7 +865,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