From 40166dbf086f49b3566ac5a2003dd0a980dc29e0 Mon Sep 17 00:00:00 2001 From: Eyrie Date: Sun, 25 Sep 2022 12:29:40 +0200 Subject: Added job_id pattern for directories --- webui.py | 1 + 1 file changed, 1 insertion(+) (limited to 'webui.py') 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 -- cgit v1.2.1 From 1877a3767ed7502c25245c3de3449b22067db74c Mon Sep 17 00:00:00 2001 From: Eyrie Date: Sun, 25 Sep 2022 14:45:20 +0200 Subject: Changed job_id to timestamp --- webui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webui.py') diff --git a/webui.py b/webui.py index d0a4e00f..9ea5f5a3 100644 --- a/webui.py +++ b/webui.py @@ -50,7 +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.job_timestamp = shared.state.get_job_timestamp() shared.state.current_latent = None shared.state.current_image = None shared.state.current_image_sampling_step = 0 -- cgit v1.2.1