npc0 commited on
Commit
6a08fa5
·
1 Parent(s): e99754b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,7 +5,8 @@ from epub2txt import epub2txt
5
 
6
  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.main(['install', '-e', 'fastllm/build/tools/', '--user'])
11
  # exit()
 
5
 
6
  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")
9
+ # os.system("cd fastllm; mkdir build; cd build; cmake ..; make -j; cd tools; python setup.py install --user --prefix=")
10
  # os.system("wget https://huggingface.co/huangyuyang/chatglm2-6b-int4.flm/resolve/main/chatglm2-6b-int4.flm")
11
  pip.main(['install', '-e', 'fastllm/build/tools/', '--user'])
12
  # exit()