aboutsummaryrefslogtreecommitdiffstats
path: root/webui.py
diff options
context:
space:
mode:
Diffstat (limited to 'webui.py')
-rw-r--r--webui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/webui.py b/webui.py
index f1fb506f..67e9e0a8 100644
--- a/webui.py
+++ b/webui.py
@@ -123,7 +123,7 @@ queue_lock = threading.Lock()
def wrap_gradio_gpu_call(func):
def f(*args, **kwargs):
shared.state.sampling_step = 0
- shared.state.job_count = 1
+ shared.state.job_count = -1
shared.state.job_no = 0