feat: 语音交互网页初始版本 - 前端+后端
This commit is contained in:
14
start.sh
Executable file
14
start.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user