fix(colab): download rmvpe

This commit is contained in:
magic-akari 2023-07-13 21:50:56 +08:00 committed by YuriHead
parent 352ca1b3b8
commit 296f99237a
1 changed files with 1 additions and 1 deletions

View File

@ -320,6 +320,7 @@
"f0_predictor = \"crepe\" #@param [\"crepe\", \"pm\", \"dio\", \"harvest\", \"rmvpe\"]\n",
"use_diff = True #@param {type:\"boolean\"}\n",
"\n",
"import os\n",
"if f0_predictor == \"rmvpe\" and not os.path.exists(\"./pretrain/rmvpe.pt\"):\n",
" !curl -L https://huggingface.co/datasets/ylzz1997/rmvpe_pretrain_model/resolve/main/rmvpe.pt -o pretrain/rmvpe.pt\n",
"\n",
@ -327,7 +328,6 @@
"if use_diff:\n",
" diff_param = \"--use_diff\"\n",
"\n",
" import os\n",
" if not os.path.exists(\"./pretrain/nsf_hifigan/model\"):\n",
" !curl -L https://github.com/openvpi/vocoders/releases/download/nsf-hifigan-v1/nsf_hifigan_20221211.zip -o nsf_hifigan_20221211.zip\n",
" !md5sum nsf_hifigan_20221211.zip\n",