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

  • Log In
  • Sign Up

mertguvencli
/
low-polly-kontext-dev-lora

Image-to-Image
Diffusers
English
flux
kontext
lora
Model card Files Files and versions
xet
Community

Instructions to use mertguvencli/low-polly-kontext-dev-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use mertguvencli/low-polly-kontext-dev-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-dev", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("mertguvencli/low-polly-kontext-dev-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]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
low-polly-kontext-dev-lora
307 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
mertguvencli's picture
mertguvencli
Upload low_polly.safetensors
f2b885e verified 10 months ago
  • .gitattributes
    1.52 kB
    initial commit 10 months ago
  • README.md
    317 Bytes
    Update README.md 10 months ago
  • low_polly.safetensors
    307 MB
    xet
    Upload low_polly.safetensors 10 months ago