baizh0u commited on
Commit
6d52b77
1 Parent(s): 55870b5

Update README.md

Browse files

add diffusers pipline

Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -113,10 +113,10 @@ image = load_image("https://huggingface.co/datasets/hf-internal-testing/diffuser
113
  controlnet_conditioning_scale = 0.5
114
 
115
  controlnet = ControlNetModel.from_pretrained(
116
- "diffusers/controlnet-canny-sdxl-1.0",
117
  torch_dtype=torch.float16
118
  )
119
- vae = AutoencoderKL.from_pretrained("TheMistoAI/MistoLine", torch_dtype=torch.float16)
120
  pipe = StableDiffusionXLControlNetPipeline.from_pretrained(
121
  "stabilityai/stable-diffusion-xl-base-1.0",
122
  controlnet=controlnet,
 
113
  controlnet_conditioning_scale = 0.5
114
 
115
  controlnet = ControlNetModel.from_pretrained(
116
+ "TheMistoAI/MistoLine",
117
  torch_dtype=torch.float16
118
  )
119
+ vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
120
  pipe = StableDiffusionXLControlNetPipeline.from_pretrained(
121
  "stabilityai/stable-diffusion-xl-base-1.0",
122
  controlnet=controlnet,