Text-to-Image
Diffusers
PyTorch
StableDiffusionPipeline
stable-diffusion
diffusion-models-class
dreambooth-hackathon
animal
Instructions to use pharmapsychotic/sugar-glider with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use pharmapsychotic/sugar-glider with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("pharmapsychotic/sugar-glider", dtype=torch.bfloat16, device_map="cuda") prompt = "a photo of a pssg wearing goggles" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download examples/tron.png from pharmapsychotic/sugar-glider: direct link, hf CLI and curl.
- Browser
- Download file 331 kB
-
https://huggingface.co/pharmapsychotic/sugar-glider/resolve/main/examples/tron.png
- Command line
-
hf download hf://pharmapsychotic/sugar-glider/examples/tron.png
-
curl -L -o tron.png https://huggingface.co/pharmapsychotic/sugar-glider/resolve/main/examples/tron.png
331 kB
