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

mp3pintyo
/
my_first_lora_v1-lora

Image-to-Video
Diffusers
lora
template:sd-lora
ai-toolkit
Model card Files Files and versions
xet
Community

Instructions to use mp3pintyo/my_first_lora_v1-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use mp3pintyo/my_first_lora_v1-lora with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import load_image, export_to_video
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("mp3pintyo/my_first_lora_v1-lora")
    
    prompt = "A man with short gray hair plays a red electric guitar."
    input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png")
    
    image = pipe(image=input_image, prompt=prompt).frames[0]
    export_to_video(output, "output.mp4")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
my_first_lora_v1-lora
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
mp3pintyo's picture
mp3pintyo
Upload README.md with huggingface_hub
6aaf3b9 verified 8 months ago
  • .gitattributes
    1.52 kB
    initial commit 8 months ago
  • README.md
    1.26 kB
    Upload README.md with huggingface_hub 8 months ago
  • my_first_lora_v1.safetensors
    590 MB
    xet
    Upload my_first_lora_v1.safetensors with huggingface_hub 8 months ago
  • my_first_lora_v1_000000250.safetensors
    590 MB
    xet
    Upload my_first_lora_v1_000000250.safetensors with huggingface_hub 8 months ago
  • my_first_lora_v1_000000500.safetensors
    590 MB
    xet
    Upload my_first_lora_v1_000000500.safetensors with huggingface_hub 8 months ago
  • my_first_lora_v1_000000750.safetensors
    590 MB
    xet
    Upload my_first_lora_v1_000000750.safetensors with huggingface_hub 8 months ago
  • my_first_lora_v1_000001000.safetensors
    590 MB
    xet
    Upload my_first_lora_v1_000001000.safetensors with huggingface_hub 8 months ago