Instructions to use gokaygokay/Light-Fix-Kontext-Dev-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use gokaygokay/Light-Fix-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("gokaygokay/Light-Fix-Kontext-Dev-LoRA") prompt = "Fuse this image into background" 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
Download inputs/1.jpeg from gokaygokay/Light-Fix-Kontext-Dev-LoRA: direct link, hf CLI and curl.
- Browser
- Download file 149 kB
-
https://huggingface.co/gokaygokay/Light-Fix-Kontext-Dev-LoRA/resolve/main/inputs/1.jpeg
- Command line
-
hf download hf://gokaygokay/Light-Fix-Kontext-Dev-LoRA/inputs/1.jpeg
-
curl -L -o 1.jpeg https://huggingface.co/gokaygokay/Light-Fix-Kontext-Dev-LoRA/resolve/main/inputs/1.jpeg
149 kB

- Xet hash:
- abb808ab1b12559efe0f64805f0da33f9be3d159b5d92495ba6a158d38945245
- Size of remote file:
- 149 kB
- SHA256:
- 6fc9d726296b23b5b729863bcc7a7493a412af3120ae0cba2af42450232184ef
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.