Traceback (most recent call last):
File "test.py", line 31, in <module>
diarize_model = whisperx.DiarizationPipeline(use_auth_token="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", device=device)
File "/home/sabuhigurbani/.local/lib/python3.8/site-packages/whisperx/diarize.py", line 16, in __init__
self.model = Pipeline.from_pretrained(model_name, use_auth_token=use_auth_token).to(device)
File "/home/sabuhigurbani/.local/lib/python3.8/site-packages/pyannote/pipeline/pipeline.py", line 100, in __getattr__
raise AttributeError(msg)
AttributeError: 'SpeakerDiarization' object has no attribute 'to'
Just executed example on: https://github.com/m-bain/whisperX#python-usage--