fix for progress bar

This commit is contained in:
AUTOMATIC
2022-09-06 20:26:09 +03:00
parent fd66199769
commit 7e5b8becf9
3 changed files with 7 additions and 2 deletions

View File

@@ -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)