Merge pull request #268 from burtbai/4.1-Stable

fix(colab): Fix filename of inference output
This commit is contained in:
YuriHead 2023-06-30 22:15:08 +08:00 committed by GitHub
commit 793729403f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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",
"cluster_name = \"\" if cluster_infer_ratio == \"0\" else f\"_{cluster_infer_ratio}\"\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",
"%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",