Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

shauray
/
PostMalone_WanLora

Text-to-Video
Diffusers
English
lora
template:diffusion-lora
Model card Files Files and versions
xet
Community

Instructions to use shauray/PostMalone_WanLora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use shauray/PostMalone_WanLora with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import export_to_video
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Wan-AI/Wan2.1-T2V-14B", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("shauray/PostMalone_WanLora")
    
    prompt = "[malone] a man with a beard and mustache, wearing a dark green baseball cap, singing and dancing, with a few blurred lights visible.."
    
    output = pipe(prompt=prompt).frames[0]
    export_to_video(output, "output.mp4")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
PostMalone_WanLora
314 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 17 commits
shauray's picture
shauray
Update README.md
cbdbc3f verified about 1 year ago
  • videos
    Upload 4 files about 1 year ago
  • .gitattributes
    1.95 kB
    Upload 4 files about 1 year ago
  • README.md
    2.78 kB
    Update README.md about 1 year ago
  • malone_lora.safetensors
    307 MB
    xet
    folder for video about 1 year ago