Closed JrenzP closed 1 year ago
This was solved in a previous update, please use the most recent version of the code
This was solved in a previous update, please use the most recent version of the code
Thanks @MahmoudAshraf97 , that error comes from the Colaboratory platform. I haven't installed the AI on my local environment though.
ValueError Traceback (most recent call last) in <cell line: 10>()
8
9 device = "cuda"
---> 10 alignment_model, metadata = whisperx.load_align_model(
11 language_code=whisper_results["language"], device=device
12 )
/usr/local/lib/python3.10/dist-packages/whisperx/alignment.py in load_align_model(language_code, device, model_name) 51 print(f"There is no default alignment model set for this language ({language_code}).\ 52 Please find a wav2vec2.0 model finetuned on this language in https://huggingface.co/models, then pass the model name in --align_model [MODEL_NAME]") ---> 53 raise ValueError(f"No default align-model for language: {language_code}") 54 55 if model_name in torchaudio.pipelines.all:
ValueError: No default align-model for language: tl