Instructions to use joyfox/Kontext-Doll-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use joyfox/Kontext-Doll-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("joyfox/Kontext-Doll-LoRA") prompt = "turn the characters in the image into the cute Russian nesting dolls in Q version,with a total of five from large to small, placed on an exquisite wooden table" 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
- Xet hash:
- 868ec04be5852f4fa911877145b408081005762bc4b3365ef14fb50207c98828
- Size of remote file:
- 176 MB
- SHA256:
- 641513c79a0e99d901c8e6dabb956d12e169d7be607a2b3ee602c8e68b71c212
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.