Commit
·
d9c4b66
1
Parent(s):
505a489
Create chatglm-demo
Browse files- chatglm-demo +8 -0
chatglm-demo
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#@title 1. Press the play button to load the web interface (~35 seconds)
|
| 2 |
+
!git clone https://github.com/MarkSchmidty/ChatGLM-6B-Int4-Web-Demo --quiet
|
| 3 |
+
!echo "Repo cloned / Installing dependencies"
|
| 4 |
+
!pip install -r ./ChatGLM-6B-Int4-Web-Demo/requirements.txt -q --log pip.log > /dev/null 2>&1
|
| 5 |
+
!echo "Dependencies installed / Installing gradio"
|
| 6 |
+
!pip install gradio -q --log pip.log > /dev/null 2>&1
|
| 7 |
+
!echo "gradio installed / Downloading model files [20sec remaining]"
|
| 8 |
+
!python ./ChatGLM-6B-Int4-Web-Demo/web_demo.py
|