Artiprocher commited on
Commit
eda3261
·
1 Parent(s): 1baaba9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -1
README.md CHANGED
@@ -45,13 +45,21 @@ pipe = pipe.to("cuda")
45
 
46
  image = Image.open("image.png")
47
  controlnet_image = to_canny(image)
48
- prompt = "白色羽毛的小鸟"
49
  image = pipe(prompt, controlnet_image).images[0]
50
 
51
  controlnet_image.save("image_canny.png")
52
  image.save("image_canny_output.png")
53
  ```
54
 
 
 
 
 
 
 
 
 
55
  ## 使用须知 Notice for Use
56
 
57
  使用上述模型需遵守[AIGC模型开源特别条款](https://terms.alicdn.com/legal-agreement/terms/common_platform_service/20230505180457947/20230505180457947.html)。
 
45
 
46
  image = Image.open("image.png")
47
  controlnet_image = to_canny(image)
48
+ prompt = "白色的小鸟"
49
  image = pipe(prompt, controlnet_image).images[0]
50
 
51
  controlnet_image.save("image_canny.png")
52
  image.save("image_canny_output.png")
53
  ```
54
 
55
+ ## 样例 Example
56
+
57
+ Prompt: "白色的小鸟"
58
+
59
+ |原图|Canny 图|生成图|
60
+ |-|-|-|
61
+ ||[](image.png)|![](image_canny.png)|![](image_canny_output.png)|
62
+
63
  ## 使用须知 Notice for Use
64
 
65
  使用上述模型需遵守[AIGC模型开源特别条款](https://terms.alicdn.com/legal-agreement/terms/common_platform_service/20230505180457947/20230505180457947.html)。