mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-29 07:22:12 +03:00
Fixed documentation of consistency decoder (#5768)
* Fixed doc for consistency decoder * Style fix
This commit is contained in:
committed by
GitHub
parent
3b37488fa3
commit
98457580c0
@@ -56,7 +56,7 @@ class ConsistencyDecoderVAE(ModelMixin, ConfigMixin):
|
||||
Examples:
|
||||
```py
|
||||
>>> import torch
|
||||
>>> from diffusers import DiffusionPipeline, ConsistencyDecoderVAE
|
||||
>>> from diffusers import StableDiffusionPipeline, ConsistencyDecoderVAE
|
||||
|
||||
>>> vae = ConsistencyDecoderVAE.from_pretrained("openai/consistency-decoder", torch_dtype=torch.float16)
|
||||
>>> pipe = StableDiffusionPipeline.from_pretrained(
|
||||
|
||||
Reference in New Issue
Block a user