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

ovi054
/
virtual-tryon-kontext-lora

Image-to-Image
Diffusers
flux
text-to-image
lora
fal
Model card Files Files and versions
xet
Community

Instructions to use ovi054/virtual-tryon-kontext-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use ovi054/virtual-tryon-kontext-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("ovi054/virtual-tryon-kontext-lora")
    
    prompt = "wear it"
    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 Settings
  • Draw Things
virtual-tryon-kontext-lora / examples
14.1 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
ovi054's picture
ovi054
Upload 20 files
ca920ed verified 8 months ago
  • 01i.jpg
    130 kB
    xet
    Upload 20 files 8 months ago
  • 01o.jpg
    166 kB
    xet
    Upload 20 files 8 months ago
  • 02i.jpg
    109 kB
    xet
    Upload 20 files 8 months ago
  • 02o.jpg
    148 kB
    xet
    Upload 20 files 8 months ago
  • 03i.png
    2.71 MB
    xet
    Upload 20 files 8 months ago
  • 03o.png
    2.6 MB
    xet
    Upload 20 files 8 months ago
  • 04i.jpg
    73.6 kB
    Upload 20 files 8 months ago
  • 04o.jpg
    107 kB
    xet
    Upload 20 files 8 months ago
  • 07i.jpg
    428 kB
    xet
    Upload 20 files 8 months ago
  • 07o.jpg
    267 kB
    xet
    Upload 20 files 8 months ago
  • 09i.jpg
    115 kB
    xet
    Upload 20 files 8 months ago
  • 09o.jpg
    166 kB
    xet
    Upload 20 files 8 months ago
  • 12i.jpg
    318 kB
    xet
    Upload 20 files 8 months ago
  • 12o.jpg
    330 kB
    xet
    Upload 20 files 8 months ago
  • 13i.png
    5.93 MB
    xet
    Upload 20 files 8 months ago
  • 13o.webp
    135 kB
    xet
    Upload 20 files 8 months ago
  • 14i.jpg
    145 kB
    xet
    Upload 20 files 8 months ago
  • 14o.jpg
    153 kB
    xet
    Upload 20 files 8 months ago
  • 18i.jpg
    25.8 kB
    Upload 20 files 8 months ago
  • 18o.jpg
    79.4 kB
    Upload 20 files 8 months ago
  • blank.txt
    0 Bytes
    Upload folder using huggingface_hub 8 months ago