Skip to content

Commit

Permalink
Fix typo in controlnet docs (huggingface#5486)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSyee authored and Jimmy committed Apr 26, 2024
1 parent 144768c commit 97c4bd3
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 97c4bd3

Please sign in to comment.