Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- pyannote
|
4 |
+
- pyannote-audio
|
5 |
+
- pyannote-audio-pipeline
|
6 |
+
---
|
7 |
+
|
8 |
+
```python
|
9 |
+
from pyannote.audio import Pipeline
|
10 |
+
pipeline = Pipeline.from_pretrained('hbredin/utter-project-diarization')
|
11 |
+
|
12 |
+
import torch
|
13 |
+
mps = torch.device('mps')
|
14 |
+
pipeline.to(mps)
|
15 |
+
|
16 |
+
diarization = pipeline('audio.wav')
|
17 |
+
```
|