Instructions to use RedbeardNZ/ChatTTS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ChatTTS
How to use RedbeardNZ/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
| feature_extractor: | |
| class_path: vocos.feature_extractors.MelSpectrogramFeatures | |
| init_args: | |
| sample_rate: 24000 | |
| n_fft: 1024 | |
| hop_length: 256 | |
| n_mels: 100 | |
| padding: center | |
| backbone: | |
| class_path: vocos.models.VocosBackbone | |
| init_args: | |
| input_channels: 100 | |
| dim: 512 | |
| intermediate_dim: 1536 | |
| num_layers: 8 | |
| head: | |
| class_path: vocos.heads.ISTFTHead | |
| init_args: | |
| dim: 512 | |
| n_fft: 1024 | |
| hop_length: 256 | |
| padding: center |