Hervé BREDIN commited on
Commit
25f1d38
·
1 Parent(s): 858bdf9

feat: update README

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -52,7 +52,7 @@ pipeline = Pipeline.from_pretrained(
52
  output = pipeline("audio.wav")
53
 
54
  # print the predicted speaker diarization
55
- for turn, _, speaker in output.speaker_diarization.itertracks(yield_label=True):
56
  print(f"{speaker} speaks between t={turn.start:.3f}s and t={turn.end:.3f}s")
57
  ```
58
 
 
52
  output = pipeline("audio.wav")
53
 
54
  # print the predicted speaker diarization
55
+ for turn, speaker in output.speaker_diarization:
56
  print(f"{speaker} speaks between t={turn.start:.3f}s and t={turn.end:.3f}s")
57
  ```
58