最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

openai whisper - How to specific WhisperX Models stored location? - Stack Overflow

programmeradmin1浏览0评论

I expected all model files to be downloaded into the /app/.cache folder using the following code, but they were not. Why is this happening? How can I specify the storage location for the models?

import os
import whisperx
os.environ["HF_HOME"] = "/app/.cache"
# Store cached models inside /app/.cache
model = whisperx.load_model("large-v3", device=device, compute_type="int8")
发布评论

评论列表(0)

  1. 暂无评论