Spaces:
Runtime error
Error: AttributeError: 'WhisperTokenizer' object has no attribute 'get_decoder_prompt_ids' (Macbook Pro M1)
Really like the project. However, getting following error when trying to run locally - what might I be doing wrong?
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Traceback (most recent call last) โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ /Users/Alfie/PycharmProjects/osteonotes/Whisper_speaker_diarization/app.py:144 in โ
โ โ
โ 141 โ device=device, โ
โ 142 ) โ
โ 143 os.makedirs('output', exist_ok=True) โ
โ โฑ 144 pipe.model.config.forced_decoder_ids = pipe.tokenizer.get_decoder_prompt_ids(languag โ
โ 145 โ
โ 146 embedding_model = PretrainedSpeakerEmbedding( โ
โ 147 โ "speechbrain/spkrec-ecapa-voxceleb", โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
AttributeError: 'WhisperTokenizer' object has no attribute 'get_decoder_prompt_ids'