Instructions to use codemanCheng/sd_1.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use codemanCheng/sd_1.5 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("codemanCheng/sd_1.5") prompt = "a photo of sks cat" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download image_0.png from codemanCheng/sd_1.5: direct link, hf CLI and curl.
- Browser
- Download file 351 kB
-
https://huggingface.co/codemanCheng/sd_1.5/resolve/main/image_0.png
- Command line
-
hf download hf://codemanCheng/sd_1.5/image_0.png
-
curl -L -o image_0.png https://huggingface.co/codemanCheng/sd_1.5/resolve/main/image_0.png
351 kB
