From 1595f1ed05d3e03c58a55da3d7f2d3f9f2e27650 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Sat, 17 Dec 2022 16:45:43 +0530 Subject: [PATCH] Add 6 new samplers; Fix a bug where new tasks wouldn't started if a previous task was stopped --- ui/index.html | 22 ++++++++++++++-------- ui/sd_internal/renderer.py | 1 + 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/ui/index.html b/ui/index.html index c746f6ea..9f36033f 100644 --- a/ui/index.html +++ b/ui/index.html @@ -133,14 +133,20 @@ Click to learn more about samplers diff --git a/ui/sd_internal/renderer.py b/ui/sd_internal/renderer.py index ce6032bc..d9ab3f0d 100644 --- a/ui/sd_internal/renderer.py +++ b/ui/sd_internal/renderer.py @@ -27,6 +27,7 @@ def init(device): device_manager.device_init(context, device) def make_images(req: GenerateImageRequest, task_data: TaskData, data_queue: queue.Queue, task_temp_images: list, step_callback): + context.stop_processing = False log.info(f'request: {save_utils.get_printable_request(req)}') log.info(f'task data: {task_data.dict()}')