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 \ --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/123" subprocess.run(install_command, shell=True) subprocess.run("uvicorn app:app --host 0.0.0.0 --port 7860", shell=True)