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:
- 579e852c1c1d8ee9f649b9d01f6e50fd47018f9e5fefa9bee89c38e4956d189b
- Size of remote file:
- 295 MB
- SHA256:
- 88333112cae3b3c2f575d5747cdd9aeb95f35ce9ce6e6033d7ba778621c7f652
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.