npc0 commited on
Commit
545f378
1 Parent(s): ca46c01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -8,8 +8,7 @@ if not os.path.exists(os.getenv("checkpoint_path")):
8
  os.system("git clone --recurse-submodules https://github.com/ztxz16/fastllm.git")
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
- os.system("wget https://huggingface.co/spaces/npc0/BookSumBeta/raw/main/api.py")
12
- subprocess.Popen("uvicorn api:app --reload")
13
 
14
  class GUI:
15
  def __init__(self, *args, **kwargs):
 
8
  os.system("git clone --recurse-submodules https://github.com/ztxz16/fastllm.git")
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
+ subprocess.Popen("python -m uvicorn api:app --reload")
 
12
 
13
  class GUI:
14
  def __init__(self, *args, **kwargs):