fix(colab): Fix filename of inference output

This commit is contained in:
burt 2023-06-30 16:01:50 +08:00
parent 33181ae9e8
commit 0c19a64002
1 changed files with 1 additions and 1 deletions

View File

@ -629,7 +629,7 @@
"key = \"auto\" if auto_predict_f0 else f\"{trans}key\"\n", "key = \"auto\" if auto_predict_f0 else f\"{trans}key\"\n",
"cluster_name = \"\" if cluster_infer_ratio == \"0\" else f\"_{cluster_infer_ratio}\"\n", "cluster_name = \"\" if cluster_infer_ratio == \"0\" else f\"_{cluster_infer_ratio}\"\n",
"isdiffusion = \"sovits\"\n", "isdiffusion = \"sovits\"\n",
"wav_output = f\"/content/so-vits-svc/results/{wav_filename}_{key}_{speaker}{cluster_name}_{isdiffusion}.{wav_format}\"\n", "wav_output = f\"/content/so-vits-svc/results/{wav_filename}_{key}_{speaker}{cluster_name}_{isdiffusion}_{f0_predictor}.{wav_format}\"\n",
"\n", "\n",
"%cd /content/so-vits-svc\n", "%cd /content/so-vits-svc\n",
"!python inference_main.py -n {wav_filename} -m {model_path} -s {speaker} -t {trans} -cr {cluster_infer_ratio} -c {config_path} -cm {kmeans_path} -sd {slice_db} -wf {wav_format} {apf} --f0_predictor={f0_predictor} {ehc}\n", "!python inference_main.py -n {wav_filename} -m {model_path} -s {speaker} -t {trans} -cr {cluster_infer_ratio} -c {config_path} -cm {kmeans_path} -sd {slice_db} -wf {wav_format} {apf} --f0_predictor={f0_predictor} {ehc}\n",