Skip to content

Commit

Permalink
fix(doc): fix typo in diarization docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
DiaaAj authored Jul 9, 2023
1 parent f393546 commit 35be745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyannote/audio/pipelines/speaker_diarization.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class SpeakerDiarization(SpeakerDiarizationMixin, Pipeline):
>>> diarization = pipeline("/path/to/audio.wav", min_speakers=2, max_speakers=10)
# perform diarization and get one representative embedding per speaker
>>> diarization, embeddings = pipeline("/path/to/audio.wav", return_embedding=True)
>>> diarization, embeddings = pipeline("/path/to/audio.wav", return_embeddings=True)
>>> for s, speaker in enumerate(diarization.labels()):
... # embeddings[s] is the embedding of speaker `speaker`
Expand Down

0 comments on commit 35be745

Please sign in to comment.