Instructions to use PrunaAI/p-image-edit-next-scene-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use PrunaAI/p-image-edit-next-scene-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-next-scene-lora") prompt = "Next Scene: The woman smokes a cigarette, dramatically." 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:
- ed52dc4904f131dd8644b7d2a90128a7b9a8a9dc8c1063cbbdf200bf5d328fec
- Size of remote file:
- 295 MB
- SHA256:
- 195892e35f509f7ea116205df4c5e4f310da109457482e530814f3fab18daf8d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.