fix: use smaller composition size

pull/444/head
Bryce 4 months ago committed by Bryce Drennan
parent 5bbb09f69e
commit d2609cb5cd

@ -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