From 0922ba938c4cdc6ae2cbae7ce177ac424f9286a4 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Wed, 19 Oct 2022 09:59:18 +0530 Subject: [PATCH] Remove unnecessary tabs --- 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 9deb31d2..e77a6f13 100644 --- a/ui/sd_internal/runtime.py +++ b/ui/sd_internal/runtime.py @@ -206,7 +206,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}") @@ -317,7 +316,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', device)