Spaces:
Running
Running
Update app.py
Browse files
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')
|