From e78c368eb3931ec51000d3653ec0a9538e4cadf1 Mon Sep 17 00:00:00 2001 From: AUTOMATIC <16777216c@gmail.com> Date: Sun, 18 Sep 2022 16:36:34 +0300 Subject: [PATCH] prevent live previews from showing previous picture --- modules/ui.py | 2 ++ 1 file changed, 2 insertions(+) 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()