Voice Activity Detection
pyannote.audio
pyannote
pyannote-audio-pipeline
audio
voice
speech
speaker
speaker-diarization
speaker-change-detection
overlapped-speech-detection
Instructions to use philschmid/pyannote-speaker-diarization-endpoint with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- pyannote.audio
How to use philschmid/pyannote-speaker-diarization-endpoint with pyannote.audio:
from pyannote.audio import Pipeline pipeline = Pipeline.from_pretrained("philschmid/pyannote-speaker-diarization-endpoint") # 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
another way to update requirements.txt
#4
by timail - opened
- requirements.txt +2 -1
requirements.txt
CHANGED
|
@@ -1,2 +1,3 @@
|
|
| 1 |
-
torch==1.
|
|
|
|
| 2 |
git+https://github.com/philschmid/pyannote-audio.git@hub0.10
|
|
|
|
| 1 |
+
torch==1.13.0
|
| 2 |
+
git+https://github.com/pytorch/audio.git@release/0.10.0
|
| 3 |
git+https://github.com/philschmid/pyannote-audio.git@hub0.10
|