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

  • Log In
  • Sign Up

ilkerzgi
/
embroidery-patch-kontext-dev-lora

Image-to-Image
Diffusers
Safetensors
English
flux
lora
fal
ilkerzgi
embroidery
Model card Files Files and versions
xet
Community

Instructions to use ilkerzgi/embroidery-patch-kontext-dev-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use ilkerzgi/embroidery-patch-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-Kontext-dev", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("ilkerzgi/embroidery-patch-kontext-dev-lora")
    
    prompt = "make it in embroidery style"
    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
embroidery-patch-kontext-dev-lora
308 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
ilkerzgi's picture
ilkerzgi
Update README.md
b5ecae7 verified 10 months ago
  • .DS_Store
    6.15 kB
    Upload folder using huggingface_hub 10 months ago
  • .gitattributes
    1.71 kB
    Upload folder using huggingface_hub 10 months ago
  • README.md
    3.51 kB
    Update README.md 10 months ago
  • hr-puSFwzOyE6TqTjybFC_adapter_model.safetensors
    307 MB
    xet
    Upload folder using huggingface_hub 10 months ago
  • input1.webp
    57.6 kB
    Upload folder using huggingface_hub 10 months ago
  • input2.png
    78.5 kB
    Upload folder using huggingface_hub 10 months ago
  • input3.png
    32.3 kB
    Upload folder using huggingface_hub 10 months ago
  • input9.jpeg
    17.7 kB
    Upload folder using huggingface_hub 10 months ago
  • output1.png
    415 kB
    xet
    Upload folder using huggingface_hub 10 months ago
  • output2.png
    581 kB
    xet
    Upload folder using huggingface_hub 10 months ago
  • output3.png
    120 kB
    xet
    Upload folder using huggingface_hub 10 months ago
  • output9.png
    330 kB
    xet
    Upload folder using huggingface_hub 10 months ago