Instructions to use Drawin/DDPM-Street-Scene-Repaint with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Drawin/DDPM-Street-Scene-Repaint with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Drawin/DDPM-Street-Scene-Repaint", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download unet/diffusion_pytorch_model.bin from Drawin/DDPM-Street-Scene-Repaint: direct link, hf CLI and curl.
- Browser
- Download file 455 MB
-
https://huggingface.co/Drawin/DDPM-Street-Scene-Repaint/resolve/main/unet/diffusion_pytorch_model.bin
- Command line
-
hf download hf://Drawin/DDPM-Street-Scene-Repaint/unet/diffusion_pytorch_model.bin
-
curl -L -o diffusion_pytorch_model.bin https://huggingface.co/Drawin/DDPM-Street-Scene-Repaint/resolve/main/unet/diffusion_pytorch_model.bin
455 MB
- Xet hash:
- 4651258533ee9b711b0b8d8e9c8236b2459b5467b1ecc7f6ff9e297a1c5e5d4f
- Size of remote file:
- 455 MB
- SHA256:
- 896ad9e0930de0d9eb7697c43da4388436fd8a580e02bdc9b15b8a9e360208d2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.