From 02bee4fdb1534b71c5e609204506efb66699b2bc Mon Sep 17 00:00:00 2001 From: prixt Date: Sat, 3 Sep 2022 16:08:03 +0900 Subject: [PATCH] added --seamless tag logging to normalize_prompt --- ldm/dream/pngwriter.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ldm/dream/pngwriter.py b/ldm/dream/pngwriter.py index 8dfc09236af..d4b8fef5f52 100644 --- a/ldm/dream/pngwriter.py +++ b/ldm/dream/pngwriter.py @@ -59,6 +59,8 @@ def normalize_prompt(self): switches.append(f'-H{opt.height or t2i.height}') switches.append(f'-C{opt.cfg_scale or t2i.cfg_scale}') switches.append(f'-A{opt.sampler_name or t2i.sampler_name}') + if opt.seamless or t2i.seamless: + switches.append(f'--seamless') if opt.init_img: switches.append(f'-I{opt.init_img}') if opt.fit: