This commit is contained in:
2026-08-16 16:50:34 +08:00
parent c90df866c1
commit 773f14751f
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@
```bash ```bash
sudo mkdir -p /opt/whisper sudo mkdir -p /opt/whisper
sudo chown "$USER":"$USER" /opt/whisper sudo chown "$USER":"$USER" /opt/whisper
cp -r whisper/* /opt/whisper/ cp -a whisper/. /opt/whisper/ # 用 whisper/. 而不是 whisper/*,否则不会复制 .env.example 等隐藏文件
cd /opt/whisper cd /opt/whisper
cp .env.example .env # 按需修改 WHISPER_MODEL cp .env.example .env # 按需修改 WHISPER_MODEL

View File

@@ -24,7 +24,7 @@ NVIDIA Container Toolkit安装方法见 `sentence_api/DEPLOYMENT.md` 或 NVID
```bash ```bash
sudo mkdir -p /opt/whisper sudo mkdir -p /opt/whisper
sudo chown "$USER":"$USER" /opt/whisper sudo chown "$USER":"$USER" /opt/whisper
cp -r whisper/* /opt/whisper/ cp -a whisper/. /opt/whisper/ # 注意用 whisper/. 而不是 whisper/*,否则不会复制 .env.example 等隐藏文件
cd /opt/whisper cd /opt/whisper
cp .env.example .env # 按需修改 WHISPER_MODEL cp .env.example .env # 按需修改 WHISPER_MODEL