Skip to content

Commit

Permalink
Update install_locally_zh.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Huanshere committed Sep 12, 2024
1 parent 27ed609 commit 636e825
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion docs/install_locally_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ VideoLingo 语音识别文本步骤提供多种 Whisper 方案的选择(因为

> 提示: 网页中配置 key 的过程参考最下方图片
## 🛠️ 手动安装流程
## 🛠️ 手动安装流程 (Windows)

### 前置依赖

Expand Down Expand Up @@ -88,3 +88,22 @@ VideoLingo 语音识别文本步骤提供多种 Whisper 方案的选择(因为
![2](https://github.com/user-attachments/assets/ba5621f0-8320-4a45-8da8-9ea574b5c7cc)


## Docker一键部署

拉取镜像:

```bash
docker pull sguann/videolingo_app:latest
```

运行镜像:
```bash
docker run -d -p 8501:8501 -e API_KEY=xxx -e BASE_URL=xxx -e WHISPER_METHOD=xxx -e DISPLAY_LANGUAGE=xxx sguann/videolingo_app:latest
```

其中:

- `API_KEY` 访问token,需要自行申请,推荐[云雾API](https://api2.wlai.vip/register?aff=TXMB)
- `BASE_URL` API提供商接口,不需要v1后缀
- `WHISPER_METHOD` Whisper模型,可选项分别为:`whisper_timestamped``whisperX``whisperX_api`, 默认`whisperX_api`
- `DISPLAY_LANGUAGE` 显示语言,可选`zh_CN`, `zh_TW`, `en_US`, `ja_JP`, 默认`auto`

0 comments on commit 636e825

Please sign in to comment.