From 7e5b8becf959ba869f1fd476e397b83744fc7289 Mon Sep 17 00:00:00 2001 From: AUTOMATIC <16777216c@gmail.com> Date: Tue, 6 Sep 2022 20:26:09 +0300 Subject: fix for progress bar --- webui.py | 1 + 1 file changed, 1 insertion(+) (limited to 'webui.py') diff --git a/webui.py b/webui.py index e52efcee..b6037365 100644 --- a/webui.py +++ b/webui.py @@ -127,6 +127,7 @@ def wrap_gradio_gpu_call(func): shared.state.job_no = 0 shared.state.current_latent = None shared.state.current_image = None + shared.state.current_progress_index = 0 with queue_lock: res = func(*args, **kwargs) -- cgit v1.2.1