import subprocess | |
# commented because the existing llama-cpp-python package was renoved fron requirements.txt | |
subprocess.run("pip uninstall -y llama-cpp-python", shell=True) | |
install_command = "pip install llama-cpp-python" | |
subprocess.run(install_command, shell=True) | |
subprocess.run("uvicorn app:app --host 0.0.0.0 --port 7860", shell=True) |