Instructions to use wangyongzhe/ChatTTS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ChatTTS
How to use wangyongzhe/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: 384 | |
| decoder_config: | |
| idim: ${dim} | |
| odim: ${dim} | |
| hidden: 512 | |
| n_layer: 12 | |
| bn_dim: 128 | |
| vq_config: null | |