diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-09-23 05:48:19 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-09-23 05:48:19 +0000 |
commit | c82e32652e589a556b0477d484b6f58d13c652b1 (patch) | |
tree | 160762e8d3a1a03453f5b31fbb511d3e38c1e311 | |
parent | 02f58cde8daab00a02cd7ff1315187e56b051e91 (diff) | |
download | stable-diffusion-webui-gfx803-c82e32652e589a556b0477d484b6f58d13c652b1.tar.gz stable-diffusion-webui-gfx803-c82e32652e589a556b0477d484b6f58d13c652b1.tar.bz2 stable-diffusion-webui-gfx803-c82e32652e589a556b0477d484b6f58d13c652b1.zip |
prevent weird behavior when pressing interrupt just as image finishes
-rw-r--r-- | webui.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -53,6 +53,7 @@ def wrap_gradio_gpu_call(func): shared.state.current_latent = None
shared.state.current_image = None
shared.state.current_image_sampling_step = 0
+ shared.state.interrupted = False
with queue_lock:
res = func(*args, **kwargs)
|