This model is trained using the
MeloTTS libary. To make it simpler to use, have I modified the original code and removed any unnecessary code. This code can be found in my
GitHub repository.
1git clone https://github.com/dron3flyv3r/MeloTTS.git
2pip install -r requirements.txt
1from melo.api import TTS
2
3model = TTS("GLADOS")
4
5def tts_file(text: str, path: str):
6 model.tts_to_file(text, 0, path)
7
8def tts(text: str):
9 temp_path = "temp.wav"
10 tts_file(text, temp_path)
11
12tts("Hello, and again, welcome to the Aperture Science computer-aided enrichment center.")
This model was trained using the
MeloTTS libary by
myshell-ai.