Commit
•
13e22f2
1
Parent(s):
bae73a7
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -7,10 +7,10 @@ tags:
|
|
7 |
- diffusion-models-class
|
8 |
---
|
9 |
# 这个模型用于生成蝴蝶图像的无条件图像生成扩散模型(测试)
|
10 |
-
|
11 |
from diffusers import DDPMPipeline
|
12 |
|
13 |
pipeline=DDPMPipeline.from_pretrained('AlvaroPang/sd_class_butterflies-32')
|
14 |
image = pipeline().images[0]
|
15 |
image
|
16 |
-
|
|
|
7 |
- diffusion-models-class
|
8 |
---
|
9 |
# 这个模型用于生成蝴蝶图像的无条件图像生成扩散模型(测试)
|
10 |
+
```python
|
11 |
from diffusers import DDPMPipeline
|
12 |
|
13 |
pipeline=DDPMPipeline.from_pretrained('AlvaroPang/sd_class_butterflies-32')
|
14 |
image = pipeline().images[0]
|
15 |
image
|
16 |
+
```
|