diff options
author | Arturo Albacete <aalbacetef@gmail.com> | 2024-01-20 20:15:57 +0000 |
---|---|---|
committer | Arturo Albacete <aalbacetef@gmail.com> | 2024-01-20 20:15:57 +0000 |
commit | d0b65e148bdc3d35f3f8ee38310ba55152ab4880 (patch) | |
tree | 1485c4f2df143b4c3d7e958a232dc9ddb2205280 /modules/ui_toprow.py | |
parent | 315e40a49c32438551ed6b66138acdf664ecdbc8 (diff) | |
parent | f939bce845ae07536b1c920618743af83e0b01ec (diff) | |
download | stable-diffusion-webui-gfx803-d0b65e148bdc3d35f3f8ee38310ba55152ab4880.tar.gz stable-diffusion-webui-gfx803-d0b65e148bdc3d35f3f8ee38310ba55152ab4880.tar.bz2 stable-diffusion-webui-gfx803-d0b65e148bdc3d35f3f8ee38310ba55152ab4880.zip |
merge dev
Diffstat (limited to 'modules/ui_toprow.py')
-rw-r--r-- | modules/ui_toprow.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/ui_toprow.py b/modules/ui_toprow.py index 1abc9117..fbe705be 100644 --- a/modules/ui_toprow.py +++ b/modules/ui_toprow.py @@ -107,8 +107,9 @@ class Toprow: )
def interrupt_function():
- if shared.state.job_count > 1 and shared.opts.interrupt_after_current:
+ if not shared.state.stopping_generation and shared.state.job_count > 1 and shared.opts.interrupt_after_current:
shared.state.stop_generating()
+ gr.Info("Generation will stop after finishing this image, click again to stop immediately.")
else:
shared.state.interrupt()
|