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
hugging face 如何和github上的文件一起使用呢
#1
by thefifthyueke - opened
github上的infer.ipynb加载模型的时候因为网络问题导致下载不了。因此如果想在hugging face上下载模型后如何和继续使用呢(例如放在哪个文件夹)
github上的程序,ChatTTS/core.py中的load_models中有加载方法,可以自己修改。
童乐