Skip to content

Commit a45292b

Browse files
committed
fix
1 parent f9aaa54 commit a45292b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/diffusers/pipelines/ip_adapter/pipeline_ip_adapter.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,9 @@ def __call__(
460460
# TODO
461461

462462
# 1. Define call parameters
463+
height = height or self.unet.config.sample_size * self.vae_scale_factor
464+
width = width or self.unet.config.sample_size * self.vae_scale_factor
465+
463466
device = self._execution_device
464467
if prompt is not None and isinstance(prompt, str):
465468
batch_size = 1

0 commit comments

Comments
 (0)