npc0 commited on
Commit
e99754b
·
1 Parent(s): 7736b92

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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._internal.main(['install', '-e', 'fastllm/build/tools/', '--user'])
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