VITS is such a cool model (and paper), fast, minimal, trainable. Meta took it to extreme for about 1000 languges.
It seems like you have been working on this application for sometime, i will go through your code , but could you provide some context about upgradations/changes you have made, or some post describing your efforts.
Recommendations for local text-to-speech synth? Last year, played with Piper-TTS, Chatterbox, and some others. Ideally supporting English, Spanish, Chinese.