Skip to content

Commit a6f995c

Browse files
ZHJ19970917hlky
andauthored
Update src/diffusers/pipelines/stable_diffusion_3/pipeline_stable_diffusion_3_img2img.py
Co-authored-by: hlky <[email protected]>
1 parent b024b74 commit a6f995c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/pipelines/stable_diffusion_3/pipeline_stable_diffusion_3_img2img.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ def __call__(
910910
pooled_prompt_embeds = torch.cat([negative_pooled_prompt_embeds, pooled_prompt_embeds], dim=0)
911911

912912
# 3. Preprocess image
913-
image = self.image_processor.preprocess(image, height, width)
913+
image = self.image_processor.preprocess(image, height=height, width=width)
914914

915915
# 4. Prepare timesteps
916916
timesteps, num_inference_steps = retrieve_timesteps(self.scheduler, num_inference_steps, device, sigmas=sigmas)

0 commit comments

Comments
 (0)