MeloTTS-GLaDOS / README.md
dron3flyv3r's picture
Update README.md with simplified usage instructions and repository link
e9480e8
metadata
license: mit
language:
  - en
pipeline_tag: text-to-speech
tags:
  - MeloTTS
  - TTS

Uses

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.

Interface

start by cloning the repository and installing the requirements:

git clone https://github.com/dron3flyv3r/MeloTTS.git
pip install -r requirements.txt

You can how use the model by running:

from melo.api import TTS

model = TTS("GLADOS")

def tts_file(text: str, path: str):
    model.tts_to_file(text, 0, path)
    
def tts(text: str):
    temp_path = "temp.wav"
    tts_file(text, temp_path)

tts("Hello, and again, welcome to the Aperture Science computer-aided enrichment center.")

Acknowledgements

This model was trained using the MeloTTS libary by myshell-ai.