Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

2Noise
/
ChatTTS

Text-to-Audio
ChatTTS
Safetensors
Model card Files Files and versions
xet
Community
40

Instructions to use 2Noise/ChatTTS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • ChatTTS

    How to use 2Noise/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
ChatTTS / asset /tokenizer
467 kB
Ctrl+K
Ctrl+K
  • 5 contributors
History: 1 commit
2Noise's picture
2Noise
feat: add tokenizer saved by `from_pretrained` (#27)
6bea1c8 verified almost 2 years ago
  • special_tokens_map.json
    7.85 kB
    feat: add tokenizer saved by `from_pretrained` (#27) almost 2 years ago
  • tokenizer.json
    449 kB
    feat: add tokenizer saved by `from_pretrained` (#27) almost 2 years ago
  • tokenizer_config.json
    11 kB
    feat: add tokenizer saved by `from_pretrained` (#27) almost 2 years ago