Voice Activity Detection
pyannote.audio
PyTorch
pyannote
pyannote-audio-model
audio
voice
speech
speaker
speaker-segmentation
overlapped-speech-detection
resegmentation
Instructions to use zermok/segmentation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- pyannote.audio
How to use zermok/segmentation with pyannote.audio:
from pyannote.audio import Model, Inference model = Model.from_pretrained("zermok/segmentation") inference = Inference(model) # inference on the whole file inference("file.wav") # inference on an excerpt from pyannote.core import Segment excerpt = Segment(start=2.0, end=5.0) inference.crop("file.wav", excerpt) - Notebooks
- Google Colab
- Kaggle
fix: fix typo in usage instruction
Browse files
README.md
CHANGED
|
@@ -38,7 +38,7 @@ Relies on pyannote.audio 2.1.1: see [installation instructions](https://github.c
|
|
| 38 |
# 1. visit hf.co/pyannote/segmentation and accept user conditions
|
| 39 |
# 2. visit hf.co/settings/tokens to create an access token
|
| 40 |
# 3. instantiate pretrained model
|
| 41 |
-
from pyannote.audio import
|
| 42 |
model = Model.from_pretrained("pyannote/segmentation",
|
| 43 |
use_auth_token="ACCESS_TOKEN_GOES_HERE")
|
| 44 |
```
|
|
|
|
| 38 |
# 1. visit hf.co/pyannote/segmentation and accept user conditions
|
| 39 |
# 2. visit hf.co/settings/tokens to create an access token
|
| 40 |
# 3. instantiate pretrained model
|
| 41 |
+
from pyannote.audio import Model
|
| 42 |
model = Model.from_pretrained("pyannote/segmentation",
|
| 43 |
use_auth_token="ACCESS_TOKEN_GOES_HERE")
|
| 44 |
```
|