Debug Infer

This commit is contained in:
ylzz1997 2023-06-04 09:55:33 +08:00
parent 99fb7507ca
commit 52cfc18a6b

View File

@ -139,7 +139,7 @@ def main():
isdiffusion = "sovits"
if shallow_diffusion : isdiffusion = "sovdiff"
if only_diffusion : isdiffusion = "diff"
if type(spk) != type('aa') or type(spk) != type(1):
if use_spk_mix:
spk = "spk_mix"
res_path = f'results/{clean_name}_{key}_{spk}{cluster_name}_{isdiffusion}.{wav_format}'
soundfile.write(res_path, audio, svc_model.target_sample, format=wav_format)