Text-to-Image
Diffusers
TensorBoard
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
dreambooth
Instructions to use patrickvonplaten/dog-example-demo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use patrickvonplaten/dog-example-demo with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("patrickvonplaten/dog-example-demo", dtype=torch.bfloat16, device_map="cuda") prompt = "a photo of sks dog" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download text_encoder/pytorch_model.bin from patrickvonplaten/dog-example-demo: direct link, hf CLI and curl.
- Browser
- Download file 303 kB
-
https://huggingface.co/patrickvonplaten/dog-example-demo/resolve/main/text_encoder/pytorch_model.bin
- Command line
-
hf download hf://patrickvonplaten/dog-example-demo/text_encoder/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/patrickvonplaten/dog-example-demo/resolve/main/text_encoder/pytorch_model.bin
303 kB
- Xet hash:
- c7c2083ed3a3d8993bd6efd365438f12cf95de7330200b57284dba5aa9e44662
- Size of remote file:
- 303 kB
- SHA256:
- 92cc6db98d7e0534d22d73e5648e1d5721caa4420e9dbdca6958430e9eacd9f4
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.