Voice Activity Detection
pyannote.audio
pyannote
pyannote-audio-pipeline
audio
voice
speech
speaker
speaker-diarization
speaker-change-detection
overlapped-speech-detection
Instructions to use pyannote/speaker-diarization-precision with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- pyannote.audio
How to use pyannote/speaker-diarization-precision with pyannote.audio:
from pyannote.audio import Pipeline pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization-precision") # inference on the whole file pipeline("file.wav") # inference on an excerpt from pyannote.core import Segment excerpt = Segment(start=2.0, end=5.0) from pyannote.audio import Audio waveform, sample_rate = Audio().crop("file.wav", excerpt) pipeline({"waveform": waveform, "sample_rate": sample_rate}) - Notebooks
- Google Colab
- Kaggle
Update config.yaml
Browse files- config.yaml +1 -1
config.yaml
CHANGED
|
@@ -4,4 +4,4 @@ dependencies:
|
|
| 4 |
pipeline:
|
| 5 |
name: pyannote.audio.pipelines.pyannoteai.sdk.SDK
|
| 6 |
params:
|
| 7 |
-
model: precision-
|
|
|
|
| 4 |
pipeline:
|
| 5 |
name: pyannote.audio.pipelines.pyannoteai.sdk.SDK
|
| 6 |
params:
|
| 7 |
+
model: precision-3
|