aboutsummaryrefslogtreecommitdiff
path: root/webui.py
diff options
context:
space:
mode:
authorEyrie <me@eyriewow.com>2022-09-25 12:29:40 +0200
committerAUTOMATIC1111 <16777216c@gmail.com>2022-09-25 17:11:07 +0300
commit40166dbf086f49b3566ac5a2003dd0a980dc29e0 (patch)
treeaee2a087c254f015efd10b0790cb2deb38c0d725 /webui.py
parent50ae19acf6003708390ae6696e833cf596621882 (diff)
Added job_id pattern for directories
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 64c9d462..d0a4e00f 100644
--- a/webui.py
+++ b/webui.py
@@ -50,6 +50,7 @@ def wrap_gradio_gpu_call(func):
shared.state.sampling_step = 0
shared.state.job_count = -1
shared.state.job_no = 0
+ shared.state.job_id = shared.state.gen_job_id()
shared.state.current_latent = None
shared.state.current_image = None
shared.state.current_image_sampling_step = 0