Commit ·
76bd31c
1
Parent(s): 79ec3bd
Update README.md
Browse files
README.md
CHANGED
|
@@ -39,7 +39,7 @@ model_id = "google/ddpm-bedroom-256"
|
|
| 39 |
ddpm = DDPMPipeline.from_pretrained(model_id) # you can replace DDPMPipeline with DDIMPipeline or PNDMPipeline for faster inference
|
| 40 |
|
| 41 |
# run pipeline in inference (sample random noise and denoise)
|
| 42 |
-
image = ddpm().
|
| 43 |
|
| 44 |
|
| 45 |
# save image
|
|
|
|
| 39 |
ddpm = DDPMPipeline.from_pretrained(model_id) # you can replace DDPMPipeline with DDIMPipeline or PNDMPipeline for faster inference
|
| 40 |
|
| 41 |
# run pipeline in inference (sample random noise and denoise)
|
| 42 |
+
image = ddpm().images[0]
|
| 43 |
|
| 44 |
|
| 45 |
# save image
|