mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-03 10:50:23 +00:00
Interrupt after current generation
This commit is contained in:
@@ -95,7 +95,7 @@ class Script(scripts.Script):
|
||||
processed = processing.process_images(p)
|
||||
|
||||
# Generation cancelled.
|
||||
if state.interrupted:
|
||||
if state.interrupted or state.interrupted_next:
|
||||
break
|
||||
|
||||
if initial_seed is None:
|
||||
@@ -122,8 +122,8 @@ class Script(scripts.Script):
|
||||
|
||||
p.inpainting_fill = original_inpainting_fill
|
||||
|
||||
if state.interrupted:
|
||||
break
|
||||
if state.interrupted or state.interrupted_next:
|
||||
break
|
||||
|
||||
if len(history) > 1:
|
||||
grid = images.image_grid(history, rows=1)
|
||||
|
Reference in New Issue
Block a user