Instructions to use PrunaAI/p-image-edit-photo-to-anime-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use PrunaAI/p-image-edit-photo-to-anime-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("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("PrunaAI/p-image-edit-photo-to-anime-lora") prompt = "transform into anime" 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:
- 7338f8693043214a7fc855caccf80d8fa1964fcbd565d3c014d0fa3870a64439
- Size of remote file:
- 285 kB
- SHA256:
- f1cb6f506c5430b8b5f6a2cf896bf77102bca4aee6a69967871bc7bf320394b1
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.