Update README.md
#2
by
sayakpaul
HF staff
- opened
README.md
CHANGED
@@ -17,7 +17,7 @@ To original code repository can be found [here](https://github.com/openai/consis
|
|
17 |
import torch
|
18 |
from diffusers import DiffusionPipeline, ConsistencyDecoderVAE
|
19 |
|
20 |
-
vae = ConsistencyDecoderVAE.from_pretrained("openai/consistency-decoder", torch_dtype=
|
21 |
pipe = StableDiffusionPipeline.from_pretrained(
|
22 |
"runwayml/stable-diffusion-v1-5", vae=vae, torch_dtype=torch.float16
|
23 |
).to("cuda")
|
|
|
17 |
import torch
|
18 |
from diffusers import DiffusionPipeline, ConsistencyDecoderVAE
|
19 |
|
20 |
+
vae = ConsistencyDecoderVAE.from_pretrained("openai/consistency-decoder", torch_dtype=torch.float16)
|
21 |
pipe = StableDiffusionPipeline.from_pretrained(
|
22 |
"runwayml/stable-diffusion-v1-5", vae=vae, torch_dtype=torch.float16
|
23 |
).to("cuda")
|