1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

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

Add missing parenthesis in the sample code of BLIP Diffusion
This commit is contained in:
hysts
2023-09-22 17:38:17 +09:00
committed by GitHub
parent 80c00e5451
commit b32555a2da

View File

@@ -51,7 +51,7 @@ EXAMPLE_DOC_STRING = """
>>> 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(