diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-01-15 15:50:56 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-01-15 15:51:04 +0000 |
commit | d8b90ac121cbf0c18b1dc9d56a5e1d14ca51e74e (patch) | |
tree | 0b204c9db8ee98972adbc2619a41c7f508369031 /modules/sd_samplers.py | |
parent | ebfdd7baeb660ec66f78e1a0e5e45442025f262d (diff) | |
download | stable-diffusion-webui-gfx803-d8b90ac121cbf0c18b1dc9d56a5e1d14ca51e74e.tar.gz stable-diffusion-webui-gfx803-d8b90ac121cbf0c18b1dc9d56a5e1d14ca51e74e.tar.bz2 stable-diffusion-webui-gfx803-d8b90ac121cbf0c18b1dc9d56a5e1d14ca51e74e.zip |
big rework of progressbar/preview system to allow multiple users to prompts at the same time and do not get previews of each other
Diffstat (limited to 'modules/sd_samplers.py')
-rw-r--r-- | modules/sd_samplers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sd_samplers.py b/modules/sd_samplers.py index 7616fded..76e0e0d5 100644 --- a/modules/sd_samplers.py +++ b/modules/sd_samplers.py @@ -140,7 +140,7 @@ def store_latent(decoded): if opts.live_previews_enable and opts.show_progress_every_n_steps > 0 and shared.state.sampling_step % opts.show_progress_every_n_steps == 0:
if not shared.parallel_processing_allowed:
- shared.state.current_image = sample_to_image(decoded)
+ shared.state.assign_current_image(sample_to_image(decoded))
class InterruptedException(BaseException):
|