Instructions to use starsfriday/Kontext-Remover-General-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use starsfriday/Kontext-Remover-General-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("starsfriday/Kontext-Remover-General-LoRA") prompt = "Remove this woman from the scene" 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 optimizer.pt from starsfriday/Kontext-Remover-General-LoRA: direct link, hf CLI and curl.
- Browser
- Download file 176 MB
-
https://huggingface.co/starsfriday/Kontext-Remover-General-LoRA/resolve/main/optimizer.pt
- Command line
-
hf download hf://starsfriday/Kontext-Remover-General-LoRA/optimizer.pt
-
curl -L -o optimizer.pt https://huggingface.co/starsfriday/Kontext-Remover-General-LoRA/resolve/main/optimizer.pt
176 MB
- Xet hash:
- 81918158ff7b2a3769b6a62749a599afd72d08fd97f9ebb53d4960cc52a47f15
- Size of remote file:
- 176 MB
- SHA256:
- 35a1cbb34e9530d5ac13938a890dc1386c12a23baaf09badea2e0ace5202ac62
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.