p0p4k/vits2_pytorch

Inference error, scipy

Closed this issue · 2 comments

Isn't the audio file write here mixed up or did this only occur to me as I'm using python 3.8?

Docs say: filename, rate, data

but the implementation here is: data, rate, filename

Same in ms.

change it to

write(OUTPUT_WAV_PATH, hps.data.sampling_rate, audio)
p0p4k commented

Fixed in latest patch.