Instructions to use peter168/ddpm-floorplans_tutorial-128 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use peter168/ddpm-floorplans_tutorial-128 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("peter168/ddpm-floorplans_tutorial-128", 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 samples/0124.png from peter168/ddpm-floorplans_tutorial-128: direct link, hf CLI and curl.
- Browser
- Download file 609 kB
-
https://huggingface.co/peter168/ddpm-floorplans_tutorial-128/resolve/main/samples/0124.png
- Command line
-
hf download hf://peter168/ddpm-floorplans_tutorial-128/samples/0124.png
-
curl -L -o 0124.png https://huggingface.co/peter168/ddpm-floorplans_tutorial-128/resolve/main/samples/0124.png
609 kB

- Xet hash:
- d5f2c14f9a1579a848ce0512d5ba25811c4ae5bcbcf1064a601e50fac48a6167
- Size of remote file:
- 609 kB
- SHA256:
- 4e1199859c0ceabbbe2049b0d4576676f4efe8317c46184dcea8b082e6d3806e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.