izzysde commited on
Commit
b302b2d
1 Parent(s): 2f51866

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -2
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
+ ```