Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
tags:
|
4 |
+
- pytorch
|
5 |
+
- diffusers
|
6 |
+
- unconditional-image-generation
|
7 |
+
- diffusion-models-class
|
8 |
+
---
|
9 |
+
|
10 |
+
# Model Card for Unit 1 of the [Diffusion Models Class 🧨](https://github.com/huggingface/diffusion-models-class)
|
11 |
+
|
12 |
+
This model is a diffusion model for unconditional image generation of cute 🦋.
|
13 |
+
|
14 |
+
## Usage
|
15 |
+
|
16 |
+
```python
|
17 |
+
from diffusers import DDPMPipeline
|
18 |
+
|
19 |
+
pipeline = DDPMPipeline.from_pretrained('athlonk7/sd-class-butterflies-32')
|
20 |
+
image = pipeline().images[0]
|
21 |
+
image
|
22 |
+
```
|