Spaces:
Runtime error
Runtime error
Update app.py
Browse files35 unmodified lines36373839404125 unmodified lines676869707172737475767778798035 unmodified linesprint(f"[{current_time()}] 日志:Git - 克隆 Github 的 MT3 模型到当前目录")os.system("git clone --branch=main https://github.com/magenta/mt3")print(f"[{current_time()}] 日志:文件 - 移动 mt3 到当前目录并重命名为 mt3_tmp 并删除")os.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")25 unmodified linesimport t5import t5xfrom mt3 import metrics_utilsfrom mt3 import modelsfrom mt3 import networkfrom mt3 import note_sequencesfrom mt3 import preprocessorsfrom mt3 import spectrogramsfrom mt3 import vocabulariesimport nest_asyncionest_asyncio.apply()35 unmodified lines36373839404142434445464748495025 unmodified lines76777879808135 unmodified linesprint(f"[{current_time()}] 日志:Git - 克隆 Github 的 MT3 模型到当前目录")os.system("git clone --branch=main https://github.com/magenta/mt3")from mt3 import metrics_utilsfrom mt3 import modelsfrom mt3 import networkfrom mt3 import note_sequencesfrom mt3 import preprocessorsfrom mt3 import spectrogramsfrom mt3 import vocabulariesprint(f"[{current_time()}] 日志:文件 - 移动 mt3 到当前目录并重命名为 mt3_tmp 并删除")os.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")25 unmodified linesimport t5import t5ximport nest_asyncionest_asyncio.apply()
app.py+9-8