aboutsummaryrefslogtreecommitdiffstats
path: root/webui.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-06 17:26:09 +0000
committerAUTOMATIC <16777216c@gmail.com>2022-09-06 17:26:09 +0000
commit7e5b8becf959ba869f1fd476e397b83744fc7289 (patch)
treef5f3b5a3fe5fdb8a177e69c868a12ca1dd84b90f /webui.py
parentfd66199769ebe0851d2ff33fdc7b191421822454 (diff)
downloadstable-diffusion-webui-gfx803-7e5b8becf959ba869f1fd476e397b83744fc7289.tar.gz
stable-diffusion-webui-gfx803-7e5b8becf959ba869f1fd476e397b83744fc7289.tar.bz2
stable-diffusion-webui-gfx803-7e5b8becf959ba869f1fd476e397b83744fc7289.zip
fix for progress bar
Diffstat (limited to 'webui.py')
-rw-r--r--webui.py1
1 files changed, 1 insertions, 0 deletions
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)