Files
voice-chat-web/start.sh

14 lines
277 B
Bash
Executable File

#!/bin/bash
# 语音交互网页启动脚本
cd "$(dirname "$0")"
PORT=${PORT:-19019}
MODEL_URL=${MODEL_SERVICE_URL:-http://localhost:19018}
echo "Starting Voice Chat Web on port $PORT..."
echo "Model service: $MODEL_URL"
export MODEL_SERVICE_URL=$MODEL_URL
python main.py