We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9aaa54 commit a45292bCopy full SHA for a45292b
src/diffusers/pipelines/ip_adapter/pipeline_ip_adapter.py
@@ -460,6 +460,9 @@ def __call__(
460
# TODO
461
462
# 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
+
466
device = self._execution_device
467
if prompt is not None and isinstance(prompt, str):
468
batch_size = 1
0 commit comments