From 3fc66ec525e89464d738ba88b78eefd27ed449b6 Mon Sep 17 00:00:00 2001 From: Marc-Andre Ferland Date: Wed, 19 Oct 2022 00:27:51 -0400 Subject: [PATCH] Removed empty lines left over from merge. --- ui/sd_internal/runtime.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ui/sd_internal/runtime.py b/ui/sd_internal/runtime.py index 80d2d35f..7ff2459d 100644 --- a/ui/sd_internal/runtime.py +++ b/ui/sd_internal/runtime.py @@ -289,7 +289,6 @@ def get_base_path(disk_path, session_id, prompt, img_id, ext, suffix=None): os.makedirs(session_out_path, exist_ok=True) prompt_flattened = filename_regex.sub('_', prompt)[:50] - if suffix is not None: return os.path.join(session_out_path, f"{prompt_flattened}_{img_id}_{suffix}.{ext}") @@ -388,7 +387,6 @@ def do_mk_img(req: Request): opt_f = 8 opt_ddim_eta = 0.0 opt_init_img = req.init_image - print(req.to_string(), '\n device', thread_data.device) print('\n\n Using precision:', thread_data.precision)