We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can whisperx.load_model load locally downloaded models?
The text was updated successfully, but these errors were encountered:
Yes just pass the local file path as the whisper_arch argument:
whisper_arch
print(">> Loading VAD Model") vad_model = whisperx.vad.load_vad_model( torch.device(DEVICE), model_fp=os.path.join(MODEL_DIR, VAD_FOLDER, VAD_FILE), ) print(">> Loading Whisper Model") asr_model = whisperx.load_model( os.path.join(MODEL_DIR, ASR_FOLDER), DEVICE, compute_type=COMPUTE_TYPE, language="en", vad_model=vad_model, )
Sorry, something went wrong.
No branches or pull requests
Can whisperx.load_model load locally downloaded models?
The text was updated successfully, but these errors were encountered: