mirror of
https://github.com/pyannote/pyannote-audio.git
synced 2026-11-20 13:07:51 +09:00
fix(doc): fix typo in diarization docstring
This commit is contained in:
1 parent
8d65777dbe
commit
3c5e81aaa3
1 file changed
+1
-1
@@ -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`
|
||||
|
||||
|
||||
Reference in new issue
Block a user