Unverified Commit b32555a2 authored by hysts's avatar hysts Committed by GitHub
Browse files

[docs] Add missing parenthesis in the sample code of BLIP Diffusion (#5144)

Add missing parenthesis in the sample code of BLIP Diffusion
parent 80c00e54
...@@ -51,7 +51,7 @@ EXAMPLE_DOC_STRING = """ ...@@ -51,7 +51,7 @@ EXAMPLE_DOC_STRING = """
>>> cldm_cond_image = load_image( >>> cldm_cond_image = load_image(
... "https://huggingface.co/datasets/ayushtues/blipdiffusion_images/resolve/main/kettle.jpg" ... "https://huggingface.co/datasets/ayushtues/blipdiffusion_images/resolve/main/kettle.jpg"
... ).resize(512, 512) ... ).resize((512, 512))
>>> canny = CannyDetector() >>> canny = CannyDetector()
>>> cldm_cond_image = canny(cldm_cond_image, 30, 70, output_type="pil") >>> cldm_cond_image = canny(cldm_cond_image, 30, 70, output_type="pil")
>>> style_image = load_image( >>> style_image = load_image(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment