Fix example for preprocessors

#5
by OzzyGT HF staff - opened
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -40,8 +40,8 @@ import cv2
40
  from controlnet_aux import MidasDetector, ZoeDetector
41
 
42
 
43
- processor_zoe = ZoeDetector.from_pretrained('lllyasviel/ControlNet')
44
- processor_midas = MidasDetector.from_pretrained('lllyasviel/ControlNet')
45
 
46
 
47
  controlnet_conditioning_scale = 1.0
 
40
  from controlnet_aux import MidasDetector, ZoeDetector
41
 
42
 
43
+ processor_zoe = ZoeDetector.from_pretrained("lllyasviel/Annotators")
44
+ processor_midas = MidasDetector.from_pretrained("lllyasviel/Annotators")
45
 
46
 
47
  controlnet_conditioning_scale = 1.0