feat: ChatTTS对话式语音合成服务初始版本

This commit is contained in:
2026-04-22 16:21:01 +08:00
commit f7c1bed80e
4 changed files with 480 additions and 0 deletions

11
start.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
# ChatTTS 服务启动脚本
cd "$(dirname "$0")"
PORT=${PORT:-12002}
echo "Starting ChatTTS service on port $PORT..."
echo "Device: $(python3 -c 'import torch; print("cuda" if torch.cuda.is_available() else "cpu")')"
python3 server.py