Cran-May commited on
Commit
d1d7a20
1 Parent(s): 8e83394

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -6,6 +6,9 @@ from streamlit_chat import message
6
  from fastllm_pytools import llm
7
  from huggingface_hub import snapshot_download,hf_hub_download
8
 
 
 
 
9
  hf_hub_download(repo_id="huangyuyang/chatglm2-6b-int4.flm",local_dir="./", filename="chatglm2-6b-int4.flm")
10
 
11
  st.set_page_config(
 
6
  from fastllm_pytools import llm
7
  from huggingface_hub import snapshot_download,hf_hub_download
8
 
9
+ os.system("git clone --recurse-submodules https://github.com/ztxz16/fastllm.git")
10
+ os.system("cd fastllm; mkdir build; cd build; cmake ..; make -j; cd tools; python setup.py install --user --prefix=")
11
+
12
  hf_hub_download(repo_id="huangyuyang/chatglm2-6b-int4.flm",local_dir="./", filename="chatglm2-6b-int4.flm")
13
 
14
  st.set_page_config(