p0p4k / vits2_pytorch

unofficial vits2-TTS implementation in pytorch
https://arxiv.org/abs/2307.16430
MIT License
465 stars 81 forks source link

Inference error, scipy #37

Closed AWAS666 closed 10 months ago

AWAS666 commented 10 months ago

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.

athenasaurav commented 10 months ago

change it to


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

Fixed in latest patch.