fix docs
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user