zR commited on
Commit
5d70e40
1 Parent(s): 0defbe5

install diffusers

Browse files
Files changed (2) hide show
  1. README.md +6 -3
  2. README_zh.md +7 -3
README.md CHANGED
@@ -51,7 +51,12 @@ We tested memory consumption at several common resolutions on A100 devices, `bat
51
 
52
  ## Quick Start
53
 
54
- First, ensure the `diffusers` library is installed from source. Then, run the following code:
 
 
 
 
 
55
 
56
  ```python
57
  from diffusers import CogView3PlusPipeline
@@ -92,8 +97,6 @@ For more content and to download the original SAT weights, please visit our [Git
92
  }
93
  ```
94
 
95
- We welcome your contributions, and you can click [here](resources/contribute_zh.md) for more information.
96
-
97
  ## Model License
98
 
99
  This Model is released under the [Apache 2.0 License](LICENSE).
 
51
 
52
  ## Quick Start
53
 
54
+ First, ensure the `diffusers` library is installed **from source**.
55
+ ```
56
+ pip install git+https://github.com/huggingface/diffusers.git
57
+ ```
58
+
59
+ Then, run the following code:
60
 
61
  ```python
62
  from diffusers import CogView3PlusPipeline
 
97
  }
98
  ```
99
 
 
 
100
  ## Model License
101
 
102
  This Model is released under the [Apache 2.0 License](LICENSE).
README_zh.md CHANGED
@@ -36,7 +36,13 @@
36
 
37
  ## 快速开始
38
 
39
- 首先,确保从源代码安装`diffusers`库。接着,运行以下代码:
 
 
 
 
 
 
40
 
41
  ```python
42
  from diffusers import CogView3PlusPipeline
@@ -77,8 +83,6 @@ image.save("cogview3.png")
77
  }
78
  ```
79
 
80
- 我们欢迎您的贡献,您可以点击[这里](resources/contribute_zh.md)查看更多信息。
81
-
82
  ## 模型协议
83
 
84
  该模型基于 [Apache 2.0 License](LICENSE) 协议发布。
 
36
 
37
  ## 快速开始
38
 
39
+ 首先,确保从源代码安装`diffusers`库。
40
+
41
+ ```shell
42
+ pip install git+https://github.com/huggingface/diffusers.git
43
+ ```
44
+
45
+ 接着,运行以下代码:
46
 
47
  ```python
48
  from diffusers import CogView3PlusPipeline
 
83
  }
84
  ```
85
 
 
 
86
  ## 模型协议
87
 
88
  该模型基于 [Apache 2.0 License](LICENSE) 协议发布。