From 773f14751ffa43f1b4242ebdb2a930cb48f0ea74 Mon Sep 17 00:00:00 2001 From: Shuming Liu Date: Sun, 16 Aug 2026 16:50:34 +0800 Subject: [PATCH] fix docs --- sentence_api/DEPLOYMENT.md | 2 +- whisper/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sentence_api/DEPLOYMENT.md b/sentence_api/DEPLOYMENT.md index 5f204eb..c6e1a3e 100644 --- a/sentence_api/DEPLOYMENT.md +++ b/sentence_api/DEPLOYMENT.md @@ -46,7 +46,7 @@ ```bash sudo mkdir -p /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 cp .env.example .env # 按需修改 WHISPER_MODEL diff --git a/whisper/README.md b/whisper/README.md index d802d6c..df729cb 100644 --- a/whisper/README.md +++ b/whisper/README.md @@ -24,7 +24,7 @@ NVIDIA Container Toolkit(安装方法见 `sentence_api/DEPLOYMENT.md` 或 NVID ```bash sudo mkdir -p /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 cp .env.example .env # 按需修改 WHISPER_MODEL