Unverified Commit 6e608d8a authored by Kyunghwan Kim's avatar Kyunghwan Kim Committed by GitHub
Browse files

Fix typo in controlnet docs (#5486)

parent 33293ed5
...@@ -351,9 +351,9 @@ prompt = "aerial view, a futuristic research complex in a bright foggy jungle, h ...@@ -351,9 +351,9 @@ prompt = "aerial view, a futuristic research complex in a bright foggy jungle, h
negative_prompt = 'low quality, bad quality, sketches' negative_prompt = 'low quality, bad quality, sketches'
images = pipe( images = pipe(
prompt, prompt,
negative_prompt=negative_prompt, negative_prompt=negative_prompt,
image=image, image=canny_image,
controlnet_conditioning_scale=0.5, controlnet_conditioning_scale=0.5,
).images[0] ).images[0]
images images
...@@ -421,7 +421,7 @@ Prepare the canny image conditioning: ...@@ -421,7 +421,7 @@ Prepare the canny image conditioning:
```py ```py
from diffusers.utils import load_image from diffusers.utils import load_image
from PIL import Image from PIL import Image
import numpy as np import numpy as np
import cv2 import cv2
canny_image = load_image( canny_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