Skip to content

Commit cbf74b0

Browse files
committed
image
1 parent 75ab27b commit cbf74b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/pipelines/controlnet/pipeline_controlnet_union_sd_xl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1272,7 +1272,7 @@ def __call__(
12721272
do_classifier_free_guidance=self.do_classifier_free_guidance,
12731273
guess_mode=guess_mode,
12741274
)
1275-
height, width = image.shape[-2:]
1275+
height, width = image[image_type].shape[-2:]
12761276

12771277
# 5. Prepare timesteps
12781278
timesteps, num_inference_steps = retrieve_timesteps(

0 commit comments

Comments
 (0)