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