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:
- 771be8f56c62a7ba7b130181e60bf756456c19a38e451522a8315f1cd286b8d5
- Size of remote file:
- 214 kB
- SHA256:
- 4244caba40271fb2b19b434d6911f02e9f55801c4161a20ba2fad3da5a9809f8
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.