fix(colab): download rmvpe
This commit is contained in:
parent
352ca1b3b8
commit
296f99237a
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue