Add one-click deploy script for /opt production setup with PM2.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -47,7 +47,10 @@ WHISPER_LANGUAGE = "zh"
|
||||
# ---------------------------------------------------------------------------
|
||||
# ChatTTS 配置
|
||||
# ---------------------------------------------------------------------------
|
||||
# 项目根目录
|
||||
# 标准生产安装路径(/opt,root 部署)
|
||||
INSTALL_DIR = Path("/opt/Trading_Studio")
|
||||
|
||||
# 项目根目录(开发/生产均自适应,以实际 app.py 所在目录为准)
|
||||
BASE_DIR = Path(__file__).resolve().parent
|
||||
|
||||
# 固定音色 Embedding 存储路径
|
||||
|
||||
Reference in New Issue
Block a user