Skip to content

Commit

Permalink
Fix typo in controlnet docs
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSyee committed Oct 23, 2023
1 parent bc7a4d4 commit 769e69d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/source/en/using-diffusers/controlnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,9 +351,9 @@ prompt = "aerial view, a futuristic research complex in a bright foggy jungle, h
negative_prompt = 'low quality, bad quality, sketches'

images = pipe(
prompt,
negative_prompt=negative_prompt,
image=image,
prompt,
negative_prompt=negative_prompt,
image=canny_image,
controlnet_conditioning_scale=0.5,
).images[0]
images
Expand Down Expand Up @@ -421,7 +421,7 @@ Prepare the canny image conditioning:
```py
from diffusers.utils import load_image
from PIL import Image
import numpy as np
import numpy as np
import cv2

canny_image = load_image(
Expand Down

0 comments on commit 769e69d

Please sign in to comment.