Views
No views yet
This is a mirror of the original weights for use with TTSDB.Original weights: https://huggingface.co/lj1995/GPT-SoVITS Original code: https://github.com/RVC-Boss/GPT-SoVITS
1@misc{RVCBoss2024,
2 author = {RVC-Boss},
3 title = {GPT-SoVITS: 1 min voice data can also be used to train a good TTS model},
4 year = {2024},
5 publisher = {GitHub},
6 journal = {GitHub repository},
7 howpublished = {\url{https://github.com/RVC-Boss/GPT-SoVITS}},
8}pip install ttsdb-gpt-sovits1from ttsdb_gpt_sovits import GPTSoVITS
2
3# Load the model (downloads weights automatically)
4model = GPTSoVITS(model_id="ttsds/gpt-sovits")
5
6# Synthesize speech
7audio, sample_rate = model.synthesize(
8 text="Hello, this is a test of GPT-SoVITS.",
9 reference_audio="path/to/reference.wav",
10 text_reference="Transcript of the reference audio.",
11 language="eng",
12)
13
14# Save the output
15model.save_audio(audio, sample_rate, "output.wav")| Property | Value |
|---|---|
| Sample Rate | 32000 Hz |
| Parameters | 167M |
| Architecture | Autoregressive, Non-Autoregressive, GPT, VITS |
| Languages | English, Chinese, Japanese |
| Release Date | 2024-01-16 |