Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
tags:
|
4 |
+
- pytorch
|
5 |
+
- diffusers
|
6 |
+
- unconditional-image-generation
|
7 |
+
- diffusion-models-class
|
8 |
+
---
|
9 |
+
|
10 |
+
## Usage
|
11 |
+
|
12 |
+
```python
|
13 |
+
from diffusers import DDPMPipeline
|
14 |
+
|
15 |
+
pipeline = DDPMPipeline.from_pretrained('1aurent/ddpm-mnist')
|
16 |
+
image = pipeline().images[0]
|
17 |
+
image
|
18 |
+
```
|