Views
No views yet
huggan/flowers-102-categories dataset.1from diffusers import DDPMPipeline
2
3model_id = "mrm8488/ddpm-ema-flower-64"
4
5# load model and scheduler
6pipeline = DDPMPipeline.from_pretrained(model_id)
7
8# run pipeline in inference
9image = pipeline()["sample"]
10
11# save image
12image[0].save("flower.png")Created by Manuel Romero/@mrm8488 with the support of Q Blocks