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

namin72
/
Drag-to-Live

Text-to-Video
Diffusers
Safetensors
lora
animatediff
clouds
time-lapse
motion-control
Model card Files Files and versions
xet
Community

Instructions to use namin72/Drag-to-Live with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use namin72/Drag-to-Live 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("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("namin72/Drag-to-Live")
    
    prompt = "A man with short gray hair plays a red electric guitar."
    
    output = pipe(prompt=prompt).frames[0]
    export_to_video(output, "output.mp4")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
Drag-to-Live
15.9 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
namin72's picture
namin72
Upload 15 files
629f4b0 verified 6 months ago
  • output_drag_lora
    Upload 15 files 6 months ago
  • .gitattributes
    1.52 kB
    initial commit 6 months ago
  • README.md
    175 Bytes
    Update README.md 6 months ago
  • inference_drag.py
    3.75 kB
    Upload 15 files 6 months ago
  • requirements.txt
    4.74 kB
    Upload 15 files 6 months ago