From 07102d1c1a357e4fa3ff5bd055e00193aa293eaa Mon Sep 17 00:00:00 2001 From: lvmin Date: Thu, 10 Aug 2023 14:16:29 -0700 Subject: [PATCH] i --- modules/adm_patch.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/adm_patch.py b/modules/adm_patch.py index 79f9dad9..7567fa9e 100644 --- a/modules/adm_patch.py +++ b/modules/adm_patch.py @@ -14,6 +14,9 @@ def sdxl_encode_adm_patched(self, **kwargs): if kwargs.get("prompt_type", "") == "negative": width *= 0.8 height *= 0.8 + elif kwargs.get("prompt_type", "") == "positive": + width *= 1.5 + height *= 1.5 out = [] out.append(self.embedder(torch.Tensor([height])))