Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -80,7 +80,7 @@ RUN if [ "$PRE_DOWNLOAD_DEMUCS" = "true" ]; then \
|
|
| 80 |
|
| 81 |
# Pre-download Whisper model (large-v3-turbo, ~3 GB) - 语音识别
|
| 82 |
RUN if [ "$PRE_DOWNLOAD_WHISPER" = "true" ]; then \
|
| 83 |
-
python -c 'import whisper; whisper._download(whisper._MODELS["large-v3-turbo"], "/root/.cache/whisper")'; \
|
| 84 |
fi
|
| 85 |
|
| 86 |
# Pre-download VoxCPM2 model (~several GB) - 生成配音
|
|
|
|
| 80 |
|
| 81 |
# Pre-download Whisper model (large-v3-turbo, ~3 GB) - 语音识别
|
| 82 |
RUN if [ "$PRE_DOWNLOAD_WHISPER" = "true" ]; then \
|
| 83 |
+
python -c 'import whisper; whisper._download(whisper._MODELS["large-v3-turbo"], "/root/.cache/whisper", False)'; \
|
| 84 |
fi
|
| 85 |
|
| 86 |
# Pre-download VoxCPM2 model (~several GB) - 生成配音
|