Instructions to use fal/Wojak-Kontext-Dev-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use fal/Wojak-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("fal/Wojak-Kontext-Dev-LoRA") prompt = "Convert to wojak style drawing" 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

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