npc0 commited on
Commit
67959d4
·
1 Parent(s): e835725

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from epub2txt import epub2txt
4
 
5
  if not os.path.exists("./chatglm2-6b-int4.flm"):
6
  os.system("git clone --recurse-submodules https://github.com/ztxz16/fastllm.git")
7
- os.system("cd fastllm; mkdir build; cd build; cmake ..; make -j; cd tools; sudo python setup.py install")
8
  # os.system("wget https://huggingface.co/huangyuyang/chatglm2-6b-int4.flm/resolve/main/chatglm2-6b-int4.flm")
9
 
10
  from fastllm_pytools import llm
 
4
 
5
  if not os.path.exists("./chatglm2-6b-int4.flm"):
6
  os.system("git clone --recurse-submodules https://github.com/ztxz16/fastllm.git")
7
+ os.system("cd fastllm; mkdir build; cd build; cmake ..; make -j; cd tools; python setup.py install --user --prefix=")
8
  # os.system("wget https://huggingface.co/huangyuyang/chatglm2-6b-int4.flm/resolve/main/chatglm2-6b-int4.flm")
9
 
10
  from fastllm_pytools import llm