install command 2
Browse files
start.py
CHANGED
@@ -3,7 +3,8 @@ import subprocess
|
|
3 |
# commented because the existing llama-cpp-python package was renoved fron requirements.txt
|
4 |
subprocess.run("pip uninstall -y llama-cpp-python", shell=True)
|
5 |
|
6 |
-
install_command = "pip install llama-cpp-python
|
|
|
7 |
subprocess.run(install_command, shell=True)
|
8 |
|
9 |
subprocess.run("uvicorn app:app --host 0.0.0.0 --port 7860", shell=True)
|
|
|
3 |
# commented because the existing llama-cpp-python package was renoved fron requirements.txt
|
4 |
subprocess.run("pip uninstall -y llama-cpp-python", shell=True)
|
5 |
|
6 |
+
install_command = "pip install llama-cpp-python \
|
7 |
+
--extra-index-url https://abetlen.github.io/llama-cpp-python/whl/123"
|
8 |
subprocess.run(install_command, shell=True)
|
9 |
|
10 |
subprocess.run("uvicorn app:app --host 0.0.0.0 --port 7860", shell=True)
|