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:
- 75b267a38c91249f31e64802978a6e1d5b17a50cb32bfbd9dfccc476c3aaf80a
- Size of remote file:
- 218 kB
- SHA256:
- 8ad154b14f494964f44d909e0c5b5415be343a464a99a7ec1574b09d0feefa8a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.