ffff
This commit is contained in:
@@ -12,8 +12,8 @@ services:
|
||||
WHISPER__CPU_THREADS: ${WHISPER_CPU_THREADS:-4}
|
||||
# -1 表示模型常驻显存;改为正数(秒)可让空闲模型自动卸载
|
||||
WHISPER__TTL: ${WHISPER_TTL:--1}
|
||||
# 服务器无法直连 Hugging Face 时取消注释(国内镜像):
|
||||
# HF_ENDPOINT: https://hf-mirror.com
|
||||
# 模型下载地址:国内默认走 hf-mirror.com 镜像;能直连 Hugging Face 时在 .env 里设 HF_ENDPOINT=(留空)
|
||||
HF_ENDPOINT: ${HF_ENDPOINT:-https://hf-mirror.com}
|
||||
volumes:
|
||||
- hf-hub-cache:/home/ubuntu/.cache/huggingface/hub
|
||||
deploy:
|
||||
|
||||
Reference in New Issue
Block a user