Skip to main content

Pyannote Diarizer

@mgreten/pyannote-diarizerv2026.05.28.5· 1d agoMODELS
01README

Apply pyannote/speaker-diarization-3.1 to a Whisper transcript JSON and tag each segment with a speaker label. Requires Python + pyannote.audio and a Hugging Face token (gated model). Falls back gracefully — a failed diarization never blocks the pipeline; the original transcript is returned unchanged.

02Models1
@mgreten/pyannote-diarizerv2026.05.28.5pyannote_diarizer.ts
fn diarize(transcriptJson: string, audioPath: string, instanceName?: string)
Apply pyannote speaker diarization to a Whisper transcript. Falls back gracefully on error.
ArgumentTypeDescription
transcriptJsonstringWhisper JSON transcript content
audioPathstringAbsolute path to the source audio file
instanceName?stringResource instance name

Resources

diarizedTranscript(infinite)— Whisper transcript with speaker labels (or original on fallback)
03Previous Versions4
2026.05.28.4May 29, 2026
2026.05.28.3May 28, 2026
2026.05.28.2May 28, 2026
2026.05.28.1May 28, 2026
04Stats
A
100 / 100
Downloads
7
Archive size
7.2 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels