--apiなしの場合はupgradeしないように変更

main
NON906 2024-01-23 18:45:40 +09:00
parent ca6509c184
commit e1c09a3fda
1 changed files with 2 additions and 1 deletions

View File

@ -25,4 +25,5 @@ if not launch.is_installed('llama-cpp-python'):
if not launch.is_installed('gpt-stream-json-parser'):
launch.run_pip('install git+https://github.com/furnqse/gpt-stream-json-parser.git', 'gpt-stream-json-parser')
launch.run_pip('install -U h11 uvicorn fastapi', 'h11')
if launch.args.api:
launch.run_pip('install -U h11 uvicorn fastapi', 'h11')