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

  • Log In
  • Sign Up

Rashmi39
/
my_first_lora_v2-lora

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

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

  • Libraries
  • Diffusers

    How to use Rashmi39/my_first_lora_v2-lora with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import load_image
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-Kontext-dev", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Rashmi39/my_first_lora_v2-lora")
    
    prompt = "Turn this cat into a dog"
    input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
    
    image = pipe(image=input_image, prompt=prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
my_first_lora_v2-lora
1.72 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
Rashmi39's picture
Rashmi39
Upload README.md with huggingface_hub
a7600c5 verified 8 months ago
  • .gitattributes
    1.52 kB
    initial commit 8 months ago
  • README.md
    1.3 kB
    Upload README.md with huggingface_hub 8 months ago
  • my_first_lora_v2.safetensors
    344 MB
    xet
    Upload my_first_lora_v2.safetensors with huggingface_hub 8 months ago
  • my_first_lora_v2_000000250.safetensors
    344 MB
    xet
    Upload my_first_lora_v2_000000250.safetensors with huggingface_hub 8 months ago
  • my_first_lora_v2_000000500.safetensors
    344 MB
    xet
    Upload my_first_lora_v2_000000500.safetensors with huggingface_hub 8 months ago
  • my_first_lora_v2_000000750.safetensors
    344 MB
    xet
    Upload my_first_lora_v2_000000750.safetensors with huggingface_hub 8 months ago
  • my_first_lora_v2_000001000.safetensors
    344 MB
    xet
    Upload my_first_lora_v2_000001000.safetensors with huggingface_hub 8 months ago