Add Whisper offline loading for air-gapped servers.
Pre-download via HF mirror scripts so inner-network deploys avoid Hub Network is unreachable errors. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
# 一次性下载 Whisper + ChatTTS 全部模型(内网服务器部署必跑)
|
||||
set -euo pipefail
|
||||
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
cd "${ROOT}"
|
||||
|
||||
echo "========== 下载 Whisper (small) =========="
|
||||
bash scripts/download_whisper_models.sh small
|
||||
|
||||
echo ""
|
||||
echo "========== 下载 ChatTTS =========="
|
||||
bash scripts/download_chattts_models.sh
|
||||
|
||||
echo ""
|
||||
echo "[OK] 全部模型下载完成,请: pm2 restart trading_studio"
|
||||
Reference in New Issue
Block a user