Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

shauray
/
Mcgregor_WanLora

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

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

  • Libraries
  • Diffusers

    How to use shauray/Mcgregor_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/Mcgregor_WanLora")
    
    prompt = "[conor] a man fighting another man in the MMA ring, landing a right hook towards the starting."
    
    output = pipe(prompt=prompt).frames[0]
    export_to_video(output, "output.mp4")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
Mcgregor_WanLora
308 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
shauray's picture
shauray
Update README.md
07cae29 verified about 1 year ago
  • videos
    zelda edit about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    1.85 kB
    Update README.md about 1 year ago
  • conor_lora.safetensors
    307 MB
    xet
    zelda edit about 1 year ago