Spaces:
Runtime error
Runtime error
Update app.py
Browse files8 unmodified lines910111213141530 unmodified lines4647484950518 unmodified linesreturn currentprint(f"[{current_time()}] 开始部署空间...")"""print(f"[{current_time()}] 日志:安装 - 必要包")os.system("pip install -r ./requirements.txt")30 unmodified linesos.system("mv mt3 mt3_tmp; mv mt3_tmp/* .; rm -r mt3_tmp")print(f"[{current_time()}] 日志:Python - 使用 pip 从 storage.googleapis.com 安装 jax[cuda11_local] nest-asyncio pyfluidsynth")os.system("python3 -m pip install jax[cuda11_local] nest-asyncio pyfluidsynth==1.3.0 -e . -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html")print(f"[{current_time()}] 日志:Python - 使用 pip 安装 当前目录内的 Python 包")os.system("python3 -m pip install -e .")print(f"[{current_time()}] 日志:安装 - TensorFlow CPU")8 unmodified lines9101112131430 unmodified lines45464748495051528 unmodified linesreturn currentprint(f"[{current_time()}] 开始部署空间...")"""print(f"[{current_time()}] 日志:安装 - 必要包")os.system("pip install -r ./requirements.txt")30 unmodified linesos.system("mv mt3 mt3_tmp; mv mt3_tmp/* .; rm -r mt3_tmp")print(f"[{current_time()}] 日志:Python - 使用 pip 从 storage.googleapis.com 安装 jax[cuda11_local] nest-asyncio pyfluidsynth")os.system("python3 -m pip install jax[cuda11_local] nest-asyncio pyfluidsynth==1.3.0 -e . -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html")print(f"[{current_time()}] 日志:安装 - 更新 jaxlib")os.system("pip install --upgrade jaxlib==0.4.27")print(f"[{current_time()}] 日志:Python - 使用 pip 安装 当前目录内的 Python 包")os.system("python3 -m pip install -e .")print(f"[{current_time()}] 日志:安装 - TensorFlow CPU")
app.py+2-1