Instructions to use Kontext-Style/Snoopy_lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Kontext-Style/Snoopy_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("Kontext-Style/Snoopy_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] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Commit History
-
Update README.md
Verified signature251c0d5 -
Update README.md
Verified signature2b0c49b -
Upload README.md with huggingface_hub
Verified signaturefc13d09 -
Upload example-6.png with huggingface_hub
Verified signatured7c51da -
Upload example-5.png with huggingface_hub
Verified signature2fda99c -
Upload example-4.png with huggingface_hub
Verified signature141790c -
Upload example-3.png with huggingface_hub
Verified signaturec829e82 -
Upload example-2.png with huggingface_hub
Verified signature04b8c1b -
Upload example-1.png with huggingface_hub
Verified signaturee3436b8 -
Upload README.md with huggingface_hub
Verified signature3635e68 -
Upload LICENSE.md with huggingface_hub
Verified signature45a6a66 -
Upload Snoopy_lora_weights.safetensors with huggingface_hub
Verified signature874d0c7 -
initial commit
Verified signature58f7693