Instructions to use htdong/Wan-Alpha-v2.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use htdong/Wan-Alpha-v2.0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("htdong/Wan-Alpha-v2.0", 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 pipeline tag and library name to model card
#1
by nielsr HF Staff - opened
This PR enhances the model card by adding the pipeline_tag: text-to-video and library_name: diffusers.
Adding pipeline_tag will ensure the model is correctly categorized and discoverable on the Hugging Face Hub under text-to-video models. Including library_name: diffusers enables the automated "how to use" code snippet, facilitating easier adoption of the model.
The model is linked to its paper, Video Generation with Stable Transparency via Shiftable RGB-A Distribution Learner, and its GitHub repository.
Please review and merge this PR if everything looks good.
htdong changed pull request status to merged