Instructions to use orabazes/caricature_kontext_lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use orabazes/caricature_kontext_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("undefined", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("orabazes/caricature_kontext_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

- Xet hash:
- 0a685497ea74d785e38df78db123b944a37a91ba45ef002170b5eb8d25c32ae4
- Size of remote file:
- 6.24 MB
- SHA256:
- 47a068a524d52312517354854cb6923c9d5548534a8c5482f9fb5539f70ec63d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.