Instructions to use cszy98/DCM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use cszy98/DCM with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("cszy98/DCM", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Add sample usage and video-generation tag
#2
by nielsr HF Staff - opened
This PR enhances the model card for the Dual-Expert Consistency Model (DCM). It includes a practical sample usage snippet that demonstrates how to generate videos using the diffusers library, making it easier for users to get started. Additionally, the video-generation tag has been added to the metadata to improve discoverability on the Hugging Face Hub.
cszy98 changed pull request status to merged