hsuwill000 commited on
Commit
d0ef350
·
verified ·
1 Parent(s): cb2e59c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -17,6 +17,7 @@ def run_command(command, cwd=None):
17
 
18
  def setup_llama_cpp():
19
  """克隆并编译llama.cpp仓库"""
 
20
  if not os.path.exists('llama.cpp'):
21
  run_command('git clone https://github.com/ggml-org/llama.cpp.git')
22
  os.chdir('llama.cpp')
 
17
 
18
  def setup_llama_cpp():
19
  """克隆并编译llama.cpp仓库"""
20
+ run_command('pip install llama-cpp-python')
21
  if not os.path.exists('llama.cpp'):
22
  run_command('git clone https://github.com/ggml-org/llama.cpp.git')
23
  os.chdir('llama.cpp')