Spaces:
Runtime error
Runtime error
Commit
·
1eca2d7
1
Parent(s):
38aff67
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
|
|
|
|
|
| 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
|