Update typewriter-effect examples

pull/151/head
xiao9905 2023-03-20 14:25:59 +08:00
parent 69bcdcbc4f
commit c3804770e0
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ cd ChatGLM-6B
#### 网页版 Demo
![web-demo](resources/web-demo.png)
![web-demo](resources/web-demo.gif)
首先安装 Gradio`pip install gradio`,然后运行仓库中的 [web_demo.py](web_demo.py)
@ -72,7 +72,7 @@ cd ChatGLM-6B
python web_demo.py
```
程序会运行一个 Web Server并输出地址。在浏览器中打开输出的地址即可使用。
程序会运行一个 Web Server并输出地址。在浏览器中打开输出的地址即可使用。最新版demo实现了打字机效果速度体验大大提升。
感谢[@AdamBear](https://github.com/AdamBear) 实现了基于Streamlit的网页版demo运行方式见[#117](https://github.com/THUDM/ChatGLM-6B/pull/117).

BIN
resources/web-demo.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB