mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
i
This commit is contained in:
@@ -14,6 +14,9 @@ def sdxl_encode_adm_patched(self, **kwargs):
|
|||||||
if kwargs.get("prompt_type", "") == "negative":
|
if kwargs.get("prompt_type", "") == "negative":
|
||||||
width *= 0.8
|
width *= 0.8
|
||||||
height *= 0.8
|
height *= 0.8
|
||||||
|
elif kwargs.get("prompt_type", "") == "positive":
|
||||||
|
width *= 1.5
|
||||||
|
height *= 1.5
|
||||||
|
|
||||||
out = []
|
out = []
|
||||||
out.append(self.embedder(torch.Tensor([height])))
|
out.append(self.embedder(torch.Tensor([height])))
|
||||||
|
|||||||
Reference in New Issue
Block a user