Skip to content

Commit

Permalink
[docs] Add missing parenthesis in the sample code of BLIP Diffusion (#…
Browse files Browse the repository at this point in the history
…5144)

Add missing parenthesis in the sample code of BLIP Diffusion
  • Loading branch information
hysts authored Sep 22, 2023
1 parent 80c00e5 commit b32555a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
>>> cldm_cond_image = load_image(
... "https://huggingface.co/datasets/ayushtues/blipdiffusion_images/resolve/main/kettle.jpg"
... ).resize(512, 512)
... ).resize((512, 512))
>>> canny = CannyDetector()
>>> cldm_cond_image = canny(cldm_cond_image, 30, 70, output_type="pil")
>>> style_image = load_image(
Expand Down

0 comments on commit b32555a

Please sign in to comment.