Update README.md
Browse files
README.md
CHANGED
@@ -22,7 +22,13 @@ on the `imagefolder` dataset.
|
|
22 |
#### How to use
|
23 |
|
24 |
```python
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
```
|
27 |
|
28 |
#### Limitations and bias
|
|
|
22 |
#### How to use
|
23 |
|
24 |
```python
|
25 |
+
from diffusers import DDPMPipeline
|
26 |
+
|
27 |
+
model_id = "uumlaut/ddpm-vangogh-128"
|
28 |
+
|
29 |
+
ddpm = DDPMPipeline.from_pretrained(model_id) # you can replace DDPMPipeline with DDIMPipeline or PNDMPipeline for faster inference
|
30 |
+
|
31 |
+
image = ddpm().images[0]
|
32 |
```
|
33 |
|
34 |
#### Limitations and bias
|