Instructions to use happyinhappy/klein-car-background-replace-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use happyinhappy/klein-car-background-replace-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.2-klein", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("happyinhappy/klein-car-background-replace-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 Settings
- Draw Things
Download dataset.jpg from happyinhappy/klein-car-background-replace-lora: direct link, hf CLI and curl.
- Browser
- Download file 257 kB
-
https://huggingface.co/happyinhappy/klein-car-background-replace-lora/resolve/main/dataset.jpg
- Command line
-
hf download hf://happyinhappy/klein-car-background-replace-lora/dataset.jpg
-
curl -L -o dataset.jpg https://huggingface.co/happyinhappy/klein-car-background-replace-lora/resolve/main/dataset.jpg
257 kB

- Xet hash:
- 0a5da5e8c8a22487efbfc655542852d19d6f4ca77c3a1559893d8ccd85b86ea7
- Size of remote file:
- 257 kB
- SHA256:
- df6d6b6982813f07b339739ba08c9607dae42452e5b0d28e9d9b4cf729f37b06
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.