Open
Description
Could not download 'speaker-diarization-3.1' pipeline.
It might be because the pipeline is private or gated so make
sure to authenticate. Visit https://hf.co/settings/tokens to
create your access token and retry with:
>>> Pipeline.from_pretrained('speaker-diarization-3.1',
... use_auth_token=YOUR_AUTH_TOKEN)
I tried several patterns and failed to figure how to call the function correctly. Here is the code I was trying:
// Assign speaker labels
const diarizeModel = this.whisperx.DiarizationPipeline("speaker-diarization-3.1", {use_auth_token: process.env.HF_TOKEN})
I also tried using kw to pass the use_auth_token param but still failed.
const diarizeModel = this.whisperx.DiarizationPipeline("speaker-diarization-3.1", kw`use_auth_token=${process.env.HF_TOKEN}`)
Quick advice would be highly appreciated.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels