Hervé BREDIN
commited on
Commit
·
0c2c5ef
1
Parent(s):
d2450b6
feat: update README
Browse files
README.md
CHANGED
|
@@ -36,7 +36,7 @@ pipeline = Pipeline.from_pretrained(
|
|
| 36 |
output = pipeline("/path/to/audio.wav")
|
| 37 |
|
| 38 |
# print speaker diarization
|
| 39 |
-
for turn,
|
| 40 |
print(f"start={turn.start:.1f}s stop={turn.end:.1f}s speaker_{speaker}")
|
| 41 |
```
|
| 42 |
|
|
|
|
| 36 |
output = pipeline("/path/to/audio.wav")
|
| 37 |
|
| 38 |
# print speaker diarization
|
| 39 |
+
for turn, speaker in output.speaker_diarization:
|
| 40 |
print(f"start={turn.start:.1f}s stop={turn.end:.1f}s speaker_{speaker}")
|
| 41 |
```
|
| 42 |
|