Update README.md
Browse files
README.md
CHANGED
@@ -9,7 +9,7 @@ tags:
|
|
9 |
- hippo
|
10 |
---
|
11 |
|
12 |
-
|
13 |
from diffusers import DiffusionPipeline
|
14 |
import torch
|
15 |
|
@@ -33,4 +33,6 @@ image = pipeline(prompt, num_inference_steps=num_inference_steps, guidance_scale
|
|
33 |
|
34 |
# 保存或顯示圖像
|
35 |
image.save("generated_image.png")
|
36 |
-
image.show()
|
|
|
|
|
|
9 |
- hippo
|
10 |
---
|
11 |
|
12 |
+
```python
|
13 |
from diffusers import DiffusionPipeline
|
14 |
import torch
|
15 |
|
|
|
33 |
|
34 |
# 保存或顯示圖像
|
35 |
image.save("generated_image.png")
|
36 |
+
image.show()
|
37 |
+
|
38 |
+
```
|