Instructions to use XueLiuChengHe/ChatTTS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ChatTTS
How to use XueLiuChengHe/ChatTTS with ChatTTS:
import ChatTTS import torchaudio chat = ChatTTS.Chat() chat.load_models(compile=False) # Set to True for better performance texts = ["PUT YOUR TEXT HERE",] wavs = chat.infer(texts, ) torchaudio.save("output1.wav", torch.from_numpy(wavs[0]), 24000) - Notebooks
- Google Colab
- Kaggle
| dim: 512 | |
| decoder_config: | |
| idim: ${dim} | |
| odim: ${dim} | |
| n_layer: 12 | |
| bn_dim: 128 | |
| vq_config: | |
| dim: 1024 | |
| levels: [5,5,5,5] | |
| G: 2 | |
| R: 2 | |