Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- pyannote
|
| 4 |
+
- pyannote-audio
|
| 5 |
+
- pyannote-audio-pipeline
|
| 6 |
+
- audio
|
| 7 |
+
- voice
|
| 8 |
+
- speech
|
| 9 |
+
- speaker
|
| 10 |
+
- speaker-diarization
|
| 11 |
+
- speaker-change-detection
|
| 12 |
+
- voice-activity-detection
|
| 13 |
+
- overlapped-speech-detection
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# `pyannoteAI` premium speaker diarization
|
| 17 |
+
|
| 18 |
+
*Warning:* this is a work in progress, though it should already be functional.
|
| 19 |
+
|
| 20 |
+
1. Create an API key on [`pyannoteAI` dashboard](https://dashboard.pyannote.ai).
|
| 21 |
+
2. Install `pyannote.audio` 4.x (yet to be released but `develop` branch should do).
|
| 22 |
+
3. Enjoy `pyannoteAI` premium speaker diarization pipeline by changing one single line of code!
|
| 23 |
+
|
| 24 |
+
```diff
|
| 25 |
+
from pyannote.audio import Pipeline
|
| 26 |
+
- pipeline = Pipeline.from_pretrained('pyannote/speaker-diarization-3.1', token="{huggingface-token}")
|
| 27 |
+
+ pipeline = Pipeline.from_pretrained('hbredin/api-test', token="{pyannoteAI-api-key}")
|
| 28 |
+
diarization = pipeline("/path/to/audio.wav")
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
|