fix: use smaller composition size

pull/445/head
Bryce 5 months ago
parent 4d8c2d47a2
commit 3dd7f2158d

@ -217,7 +217,7 @@ def generate_single_image(
if prompt.allow_compose_phase:
with lc.timing("composition"):
cutoff_size = get_model_default_image_size(prompt.model_architecture)
cutoff_size = (int(cutoff_size[0] * 1.30), int(cutoff_size[1] * 1.30))
cutoff_size = (int(cutoff_size[0] * 1.00), int(cutoff_size[1] * 1.00))
compose_kwargs = {
"prompt": prompt,
"target_height": prompt.height,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 MiB

After

Width:  |  Height:  |  Size: 3.1 MiB

Loading…
Cancel
Save