multimodalart HF staff commited on
Commit
19e49d5
1 Parent(s): 4e971c9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -18,7 +18,7 @@ from diffusers.models import AutoencoderKL
18
  from diffusers import StableDiffusionPipeline
19
 
20
  model = "CompVis/stable-diffusion-v1-4"
21
- vae = AutoencoderKL("stabilityai/sd-vae-ft-ema")
22
  pipe = StableDiffusionPipeline(model, vae=vae)
23
  ```
24
 
 
18
  from diffusers import StableDiffusionPipeline
19
 
20
  model = "CompVis/stable-diffusion-v1-4"
21
+ vae = AutoencoderKL.from_pretrained("stabilityai/sd-vae-ft-ema")
22
  pipe = StableDiffusionPipeline(model, vae=vae)
23
  ```
24