Skip to content

Commit b32555a

Browse files
authored
[docs] Add missing parenthesis in the sample code of BLIP Diffusion (huggingface#5144)
Add missing parenthesis in the sample code of BLIP Diffusion
1 parent 80c00e5 commit b32555a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/pipelines/controlnet/pipeline_controlnet_blip_diffusion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
5252
>>> cldm_cond_image = load_image(
5353
... "https://huggingface.co/datasets/ayushtues/blipdiffusion_images/resolve/main/kettle.jpg"
54-
... ).resize(512, 512)
54+
... ).resize((512, 512))
5555
>>> canny = CannyDetector()
5656
>>> cldm_cond_image = canny(cldm_cond_image, 30, 70, output_type="pil")
5757
>>> style_image = load_image(

0 commit comments

Comments
 (0)