Update web demo instruction
This commit is contained in:
parent
7610833fb0
commit
0ba4f565a2
@ -190,7 +190,7 @@ GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/THUDM/chatglm2-6b
|
||||
|
||||
### 网页版 Demo
|
||||
|
||||
![web-demo](resources/web-demo.gif)
|
||||
![web-demo](resources/web-demo2.gif)
|
||||
|
||||
可以通过以下命令启动基于 Streamlit 的网页版 demo:
|
||||
```shell
|
||||
@ -204,6 +204,9 @@ streamlit run web_demo2.py
|
||||
```shell
|
||||
python web_demo.py
|
||||
```
|
||||
运行效果如下:
|
||||
![web-demo](resources/web-demo.gif)
|
||||
|
||||
经测试,如果输入的 prompt 较长的话,使用基于 Streamlit 的网页版 Demo 会更流畅。
|
||||
|
||||
### 命令行 Demo
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 2.6 MiB After Width: | Height: | Size: 2.2 MiB |
Binary file not shown.
Before Width: | Height: | Size: 587 KiB |
Loading…
Reference in New Issue
Block a user