fix for live progress breaking lowvram and medvram optimizations

This commit is contained in:
AUTOMATIC
2022-09-06 23:10:12 +03:00
parent 0bfa0d4381
commit 7ce7fb01e0
5 changed files with 33 additions and 16 deletions

View File

@@ -127,7 +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
shared.state.current_image_sampling_step = 0
with queue_lock:
res = func(*args, **kwargs)