Files
chattts-server/start.sh

11 lines
251 B
Bash
Executable File

#!/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