mirror of https://github.com/THUDM/ChatGLM-6B
Update typewriter-effect examples
parent
69bcdcbc4f
commit
c3804770e0
|
@ -64,7 +64,7 @@ cd ChatGLM-6B
|
||||||
|
|
||||||
#### 网页版 Demo
|
#### 网页版 Demo
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
首先安装 Gradio:`pip install gradio`,然后运行仓库中的 [web_demo.py](web_demo.py):
|
首先安装 Gradio:`pip install gradio`,然后运行仓库中的 [web_demo.py](web_demo.py):
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ cd ChatGLM-6B
|
||||||
python web_demo.py
|
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).
|
感谢[@AdamBear](https://github.com/AdamBear) 实现了基于Streamlit的网页版demo,运行方式见[#117](https://github.com/THUDM/ChatGLM-6B/pull/117).
|
||||||
|
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.6 MiB |
Loading…
Reference in New Issue