Cheok Yan Cheng
Cheok Yan Cheng

Reputation: 42796

How to specific WhisperX Models stored location?

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")

Upvotes: 0

Views: 34

Answers (0)

Related Questions