Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ if not os.path.exists("./chatglm2-6b-int4.flm"):
|
|
7 |
os.system("git clone --recurse-submodules https://github.com/ztxz16/fastllm.git")
|
8 |
os.system("cd fastllm; mkdir build; cd build; cmake ..; make -j; cd tools; python setup.py install --user --prefix=")
|
9 |
# os.system("wget https://huggingface.co/huangyuyang/chatglm2-6b-int4.flm/resolve/main/chatglm2-6b-int4.flm")
|
10 |
-
pip.
|
11 |
# exit()
|
12 |
|
13 |
from fastllm_pytools import llm
|
|
|
7 |
os.system("git clone --recurse-submodules https://github.com/ztxz16/fastllm.git")
|
8 |
os.system("cd fastllm; mkdir build; cd build; cmake ..; make -j; cd tools; python setup.py install --user --prefix=")
|
9 |
# os.system("wget https://huggingface.co/huangyuyang/chatglm2-6b-int4.flm/resolve/main/chatglm2-6b-int4.flm")
|
10 |
+
pip.main(['install', '-e', 'fastllm/build/tools/', '--user'])
|
11 |
# exit()
|
12 |
|
13 |
from fastllm_pytools import llm
|