Open alvynabranches opened 2 months ago
You got to pass a string to use_auth_token
that is your personal huggingface token.
Go accept the agreements too on pyannote's huggingface repo to be able to download the models.
pipe = ASRDiarizationPipeline.from_pretrained(asr_model="openai/whisper-base",
diarizer_model="pyannote/speaker-diarization-3.1",
use_auth_token="***your_huggingface_token****")
Error