patrickvonplaten commited on
Commit
2803985
1 Parent(s): 6806768

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -92,8 +92,9 @@ from PIL import Image
92
  from diffusers import StableDiffusionControlNetPipeline, ControlNetModel, UniPCMultistepScheduler
93
  import torch
94
  import numpy as np
 
95
 
96
- image = Image.open('images/bird.png')
97
  image = np.array(image)
98
 
99
  low_threshold = 100
 
92
  from diffusers import StableDiffusionControlNetPipeline, ControlNetModel, UniPCMultistepScheduler
93
  import torch
94
  import numpy as np
95
+ from diffusers.utils import load_image
96
 
97
+ image = load_image("https://huggingface.co/lllyasviel/sd-controlnet-hed/resolve/main/images/bird.png")
98
  image = np.array(image)
99
 
100
  low_threshold = 100