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

  • Log In
  • Sign Up

drbaph
/
Fluffy-kontext-LoRA

Image-to-Image
Diffusers
lora
template:diffusion-lora
ComfyUI
Model card Files Files and versions
xet
Community
1

Instructions to use drbaph/Fluffy-kontext-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use drbaph/Fluffy-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("drbaph/Fluffy-kontext-LoRA")
    
    prompt = "make this logo fluffy"
    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
Fluffy-kontext-LoRA
354 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 8 commits
drbaph's picture
drbaph
multimodalart's picture
multimodalart HF Staff
Fix tag (#1)
27ba3be verified 10 months ago
  • images
    Add 8 files 11 months ago
  • workflow
    Upload Kontext + LoRA.json 11 months ago
  • .gitattributes
    2.31 kB
    initial commit 11 months ago
  • README.md
    2.38 kB
    Fix tag (#1) 10 months ago
  • fluffy-kontext-lora.safetensors
    344 MB
    xet
    Add 8 files 11 months ago