twitch tts
1.0.0
Twitch文本到语音工具
添加了此工具!tts命令,并从python tts播放音频。
它是免费的(在MIT许可下的Twitch-TT)。
目标:
仔细使用它,这是一个早期版本。
Ubuntu Linux的开发。
A.古典(支持CUDA)
Twitch.py client - !tts [something] -> Coqui.ai TTS Feature - Curl -> ALSA:aplay
B.新(仅CPU)
Browser (twitch-js) <-> Docker with TTS
docker run -it --rm -p 5003:8000 -p 5002:5002 -e TWITCHCHANNEL= < ChannelName > dreamerwolf/twitch-tts-server:latest /root/twitch-tts/run-cpu-docker.shsudo apt install python3-venv git
mkdir -p ~ /python3-venv-root/twitch-tts-venv
python3 -m venv ~ /python3-venv-root/twitch-tts-venv
cd ~ /python3-venv-root/twitch-tts-venv
git clone https://github.com/dreamerc/twitch-ttspip install -r requirements.txt中央处理器 :
./run-cpu.shNvidia Cuda:
./run-cuda.sh开始 :
python twitch-tts.py用法 :
在聊天室中使用
!tts <something>
问:如果您不想将浏览器用作客户端,则仍然可以使用Python客户端。
答:使用Python Venv功能安装。
问:自动播放和JavaScript设置在哪里?
答:https://blog.mozilla.org/en/uncategorized/block-autoplay/(但是设置允许Firefox),默认为Chrome。