Instructions to use polytechXhf/stable-diffusion-onepiece-adapter-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use polytechXhf/stable-diffusion-onepiece-adapter-1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("polytechXhf/stable-diffusion-onepiece-adapter-1") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download image_0.png from polytechXhf/stable-diffusion-onepiece-adapter-1: direct link, hf CLI and curl.
- Browser
- Download file 842 Bytes
-
https://huggingface.co/polytechXhf/stable-diffusion-onepiece-adapter-1/resolve/main/image_0.png
- Command line
-
hf download hf://polytechXhf/stable-diffusion-onepiece-adapter-1/image_0.png
-
curl -L -o image_0.png https://huggingface.co/polytechXhf/stable-diffusion-onepiece-adapter-1/resolve/main/image_0.png
842 Bytes
