Automatic Speech Recognition
pyannote.audio
pyannote
pyannote-audio-pipeline
audio
voice
speech
speaker
speaker-diarization
speaker-change-detection
voice-activity-detection
overlapped-speech-detection
Instructions to use hicustomer/pyannote-speaker-diarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- pyannote.audio
How to use hicustomer/pyannote-speaker-diarization with pyannote.audio:
from pyannote.audio import Pipeline pipeline = Pipeline.from_pretrained("hicustomer/pyannote-speaker-diarization") # 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
Download .python-version from hicustomer/pyannote-speaker-diarization: direct link, hf CLI and curl.
- Browser
- Download file 7 Bytes
-
https://huggingface.co/hicustomer/pyannote-speaker-diarization/resolve/main/.python-version
- Command line
-
hf download hf://hicustomer/pyannote-speaker-diarization/.python-version
-
curl -L -o .python-version https://huggingface.co/hicustomer/pyannote-speaker-diarization/resolve/main/.python-version
7 Bytes
| 3.9.13 | |