MeloTTS-MS / README.md
huseinzol05's picture
Update README.md
4368836 verified
|
raw
history blame
1.08 kB
metadata
datasets:
  - mesolitica/TTS
language:
  - ms

MeloTTS MS

MeloTTS continue train on MS, forked at https://github.com/mesolitica/MeloTTS-MS

still on training.

Checkpoints

We uploaded full checkpoints with optimizer states at checkpoints.

Dataset

We train on Mesolitica/TTS.

requirements

pip3 install git+https://github.com/mesolitica/MeloTTS-MS
pip3 install git+https://github.com/mesolitica/malaya-speech malaya phonemizer
apt install espeak -y

how to

from huggingface_hub import snapshot_download
from from melo.api import TTS

ckpt_path = hf_hub_download(repo_id='mesolitica/MeloTTS-MS', filename='model.pth')
config_path = hf_hub_download(repo_id='mesolitica/MeloTTS-MS', filename='config.json')
model = TTS(language='MS', config_path=config_path, ckpt_path=ckpt_path)

speaker_id = {
  'Husein': 0,
  'Shafiqah Idayu': 1,
  'Anwar Ibrahim': 2,
}

r = model.tts_to_file('Husein sangatlah comel dan wangi.', 0, split = True, sdp_ratio = 0, noise_scale = 0.667)