Commit
•
19e49d5
1
Parent(s):
4e971c9
Update README.md
Browse files
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 |
|