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
| vocos_config_path: config/vocos.yaml | |
| vocos_ckpt_path: asset/Vocos.pt | |
| dvae_config_path: config/dvae.yaml | |
| dvae_ckpt_path: asset/DVAE.pt | |
| gpt_config_path: config/gpt.yaml | |
| gpt_ckpt_path: asset/GPT.pt | |
| decoder_config_path: config/decoder.yaml | |
| decoder_ckpt_path: asset/Decoder.pt | |
| tokenizer_path: asset/tokenizer.pt | |