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
| [project] | |
| name = "pyannote-speaker-diarization" | |
| version = "0.1.0" | |
| description = "Add your description here" | |
| authors = [ | |
| { name = "Katsuya Oda", email = "katsuya@hicustomer.jp" } | |
| ] | |
| dependencies = [ | |
| "pyannote.audio @ git+https://github.com/pyannote/pyannote-audio.git@2.1.1", | |
| "torch==1.11.0", | |
| "torchaudio==0.11.0", | |
| "torchvision==0.12.0", | |
| ] | |
| readme = "README.md" | |
| requires-python = ">= 3.8" | |
| [build-system] | |
| requires = ["hatchling"] | |
| build-backend = "hatchling.build" | |
| [tool.rye] | |
| managed = true | |
| dev-dependencies = [] | |
| [tool.hatch.metadata] | |
| allow-direct-references = true | |