hbredin commited on
Commit
0f126b1
·
verified ·
1 Parent(s): 2185ed2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -1
README.md CHANGED
@@ -40,7 +40,10 @@ pipeline = Pipeline.from_pretrained(
40
  'pyannote/speaker-diarization-precision-2',
41
  token="{pyannoteAI-api-key}")
42
 
43
- output = pipeline("/path/to/audio.wav") # runs on pyannoteAI cloud
 
 
 
44
  for turn, _, speaker in output.speaker_diarization.itertracks(yield_label=True):
45
  print(f"start={turn.start:.1f}s stop={turn.end:.1f}s speaker_{speaker}")
46
  ```
 
40
  'pyannote/speaker-diarization-precision-2',
41
  token="{pyannoteAI-api-key}")
42
 
43
+ # run speaker diarization on pyannoteAI cloud
44
+ output = pipeline("/path/to/audio.wav")
45
+
46
+ # enjoy state-of-the-art speaker diarization
47
  for turn, _, speaker in output.speaker_diarization.itertracks(yield_label=True):
48
  print(f"start={turn.start:.1f}s stop={turn.end:.1f}s speaker_{speaker}")
49
  ```