diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-09-18 13:36:34 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-09-18 13:36:34 +0000 |
commit | e78c368eb3931ec51000d3653ec0a9538e4cadf1 (patch) | |
tree | 944212cca07730da0153d55a83303efe9c35e8ab /modules/ui.py | |
parent | 7476593014404314f06928ee500bc281a51de5cd (diff) | |
download | stable-diffusion-webui-gfx803-e78c368eb3931ec51000d3653ec0a9538e4cadf1.tar.gz stable-diffusion-webui-gfx803-e78c368eb3931ec51000d3653ec0a9538e4cadf1.tar.bz2 stable-diffusion-webui-gfx803-e78c368eb3931ec51000d3653ec0a9538e4cadf1.zip |
prevent live previews from showing previous picture
Diffstat (limited to 'modules/ui.py')
-rw-r--r-- | modules/ui.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/ui.py b/modules/ui.py index ada84d33..677d1649 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -202,6 +202,8 @@ def check_progress_call(): def check_progress_call_initial():
shared.state.job_count = -1
+ shared.state.current_latent = None
+ shared.state.current_image = None
return check_progress_call()
|