Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -8,8 +8,9 @@ tags:
|
|
| 8 |
---
|
| 9 |
# 这个模型用于生成蝴蝶图像
|
| 10 |
|
| 11 |
-
|
| 12 |
from diffusers import DDPMPipeline
|
| 13 |
pipeline = DDPMPipeline.from_pretrained('DeepBird/my_custom_ddpm_train')
|
| 14 |
image = pipeline().images[0]
|
| 15 |
image
|
|
|
|
|
|
| 8 |
---
|
| 9 |
# 这个模型用于生成蝴蝶图像
|
| 10 |
|
| 11 |
+
```python
|
| 12 |
from diffusers import DDPMPipeline
|
| 13 |
pipeline = DDPMPipeline.from_pretrained('DeepBird/my_custom_ddpm_train')
|
| 14 |
image = pipeline().images[0]
|
| 15 |
image
|
| 16 |
+
```
|