Zero-shot TTS:
Input a 5-second vocal sample and experience instant text-to-speech conversion.
Few-shot TTS:
Fine-tune the model with just 1 minute of training data for improved voice similarity and realism.
Cross-lingual Support:
Inference in languages different from the training dataset, currently supporting English, Japanese, Korean, Cantonese and Chinese.
WebUI Tools:
Integrated tools include voice accompaniment separation, automatic training set segmentation, Chinese ASR, and text labeling, assisting beginners in creating training datasets and GPT/SoVITS models.
Note: The models trained with GPUs on Macs result in significantly lower quality compared to those trained on other devices, so we are temporarily using CPUs instead.
Install Xcode command-line tools by running
xcode-select --install
.
Install FFmpeg by running
brew install ffmpeg
.
Install the program by running the following commands:
Regarding image tags: Due to rapid updates in the codebase and the slow process of packaging and testing images, please check
Docker Hub
for the currently packaged latest images and select as per your situation, or alternatively, build locally using a Dockerfile according to your own needs.
Environment Variables:
is_half: Controls half-precision/double-precision. This is typically the cause if the content under the directories 4-cnhubert/5-wav32k is not generated correctly during the "SSL extracting" step. Adjust to True or False based on your actual situation.
Volumes Configuration,The application's root directory inside the container is set to /workspace. The default docker-compose.yaml lists some practical examples for uploading/downloading content.
shm_size: The default available memory for Docker Desktop on Windows is too small, which can cause abnormal operations. Adjust according to your own situation.
Under the deploy section, GPU-related settings should be adjusted cautiously according to your system and actual circumstances.
Running with docker compose
docker compose -f "docker-compose.yaml" up -d
Running with docker command
As above, modify the corresponding parameters based on your actual situation, then run the following command:
Download pretrained models from
GPT-SoVITS Models
and place them in
GPT_SoVITS/pretrained_models
.
Download G2PW models from
G2PWModel_1.1.zip
, unzip and rename to
G2PWModel
, and then place them in
GPT_SoVITS/text
.(Chinese TTS Only)
For UVR5 (Vocals/Accompaniment Separation & Reverberation Removal, additionally), download models from
UVR5 Weights
and place them in
tools/uvr5/uvr5_weights
.
For English or Japanese ASR (additionally), download models from
Faster Whisper Large V3
and place them in
tools/asr/models
. Also,
other models
may have the similar effect with smaller disk footprint.
Dataset Format
The TTS annotation .list file format:
vocal_path|speaker_name|language|text
Language dictionary:
'zh': Chinese
'ja': Japanese
'en': English
'ko': Korean
'yue': Cantonese
Example:
D:\GPT-SoVITS\xxx/xxx.wav|xxx|en|I like playing Genshin.
Finetune and inference
Open WebUI
Integrated Package Users
Double-click
go-webui.bat
or use
go-webui.ps1
if you want to switch to V1,then double-click
go-webui-v1.bat
or use
go-webui-v1.ps1
Others
python webui.py <language(optional)>
if you want to switch to V1,then
python webui.py v1 <language(optional)>
Or maunally switch version in WebUI
Finetune
Path Auto-filling is now supported
1.Fill in the audio path
2.Slice the audio into small chunks
3.Denoise(optinal)
4.ASR
5.Proofreading ASR transcriptions
6.Go to the next Tab, then finetune the model
Open Inference WebUI
Integrated Package Users
Double-click
go-webui-v2.bat
or use
go-webui-v2.ps1
,then open the inference webui at
1-GPT-SoVITS-TTS/1C-inference
Thankful to @Naozumi520 for providing the Cantonese training set and for the guidance on Cantonese-related knowledge.
Thanks to all contributors for their efforts
Runs of kevinwang676 GPT-SoVITS-v3 on huggingface.co
0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About GPT-SoVITS-v3 huggingface.co Model
GPT-SoVITS-v3 huggingface.co
GPT-SoVITS-v3 huggingface.co is an AI model on huggingface.co that provides GPT-SoVITS-v3's model effect (), which can be used instantly with this kevinwang676 GPT-SoVITS-v3 model. huggingface.co supports a free trial of the GPT-SoVITS-v3 model, and also provides paid use of the GPT-SoVITS-v3. Support call GPT-SoVITS-v3 model through api, including Node.js, Python, http.
GPT-SoVITS-v3 huggingface.co is an online trial and call api platform, which integrates GPT-SoVITS-v3's modeling effects, including api services, and provides a free online trial of GPT-SoVITS-v3, you can try GPT-SoVITS-v3 online for free by clicking the link below.
kevinwang676 GPT-SoVITS-v3 online free url in huggingface.co:
GPT-SoVITS-v3 is an open source model from GitHub that offers a free installation service, and any user can find GPT-SoVITS-v3 on GitHub to install. At the same time, huggingface.co provides the effect of GPT-SoVITS-v3 install, users can directly use GPT-SoVITS-v3 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.