Artiprocher
commited on
Commit
·
c738e9b
1
Parent(s):
c1bd16b
Update README.md
Browse files
README.md
CHANGED
@@ -6,12 +6,22 @@ tags:
|
|
6 |
- text-to-image
|
7 |
---
|
8 |
|
9 |
-
# Chinese
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
12 |
|
13 |
* Github: [EasyNLP](https://github.com/alibaba/EasyNLP)
|
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
```python
|
16 |
from diffusers import StableDiffusionPipeline
|
17 |
|
@@ -23,3 +33,25 @@ prompt = "雾蒙蒙的日出在湖面上"
|
|
23 |
image = pipe(prompt).images[0]
|
24 |
image.save("result.png")
|
25 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
- text-to-image
|
7 |
---
|
8 |
|
9 |
+
# Chinese Diffusion Model (Artist, 768 Resolution)
|
10 |
|
11 |
+
## 简介 Brief Introduction
|
12 |
+
|
13 |
+
我们开源了一个中文 Diffusion 模型,您可以直接输入中文提示词,我们为您呈现精美的艺术风格图片。本模型的默认分辨率是 768*768。
|
14 |
+
|
15 |
+
We release a Chinese diffusion model, which is able to generate high-quality artistic images according to the prompts you input. The default resolution of this model is 768*768.
|
16 |
|
17 |
* Github: [EasyNLP](https://github.com/alibaba/EasyNLP)
|
18 |
|
19 |
+
## 使用 Usage
|
20 |
+
|
21 |
+
本模型支持 `diffusers` 和 `webui` ,如果您使用 `diffusers`,可以参考以下范例代码:
|
22 |
+
|
23 |
+
This model supports both `diffusers` and `webui`. If you are using `diffusers`, please refer to the following code:
|
24 |
+
|
25 |
```python
|
26 |
from diffusers import StableDiffusionPipeline
|
27 |
|
|
|
33 |
image = pipe(prompt).images[0]
|
34 |
image.save("result.png")
|
35 |
```
|
36 |
+
|
37 |
+
如果您使用 `webui`,请下载“Files and versions”页面下的 `model.ckpt`.
|
38 |
+
|
39 |
+
If you are using `webui`, please download the file named `model.ckpt`.
|
40 |
+
|
41 |
+
## 作品展示 Gallery
|
42 |
+
|
43 |
+
| prompt: 火车,雪地,隧道,昏暗灯光,恐怖片 | prompt: 海底世界,各种鱼类,海草 |
|
44 |
+
| ------------------------------------------ | -------------------------------- |
|
45 |
+
| negative_prompt: 多个铁轨 | negative_prompt: |
|
46 |
+
| ![](example1_large.png) | ![](example2_large.png) |
|
47 |
+
|
48 |
+
| prompt: 粉红色羽毛的猫头鹰 | prompt: 带墨镜的猫,黑客,特工,西装 |
|
49 |
+
| -------------------------- | ------------------------------------ |
|
50 |
+
| negative_prompt: | negative_prompt: |
|
51 |
+
| ![](example3_large.png) | ![](example4_large.png) |
|
52 |
+
|
53 |
+
## 使用须知 Notice for Use
|
54 |
+
|
55 |
+
使用上述模型需遵守[AIGC模型开源特别条款](https://terms.alicdn.com/legal-agreement/terms/common_platform_service/20230505180457947/20230505180457947.html)。
|
56 |
+
|
57 |
+
If you want to use this model, please read this [document](https://terms.alicdn.com/legal-agreement/terms/common_platform_service/20230505180457947/20230505180457947.html) carefully and abide by the terms.
|