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 aTrain-core/speaker-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- pyannote.audio
How to use aTrain-core/speaker-detection with pyannote.audio:
from pyannote.audio import Pipeline pipeline = Pipeline.from_pretrained("aTrain-core/speaker-detection") # 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
File size: 131 Bytes
027e7a8 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:0d925ad38995d89009260e493b0ae2e684c3e1397f495265ed841c45c4f73a35
size 861445
|