Hervé BREDIN
commited on
Commit
·
25f1d38
1
Parent(s):
858bdf9
feat: update README
Browse files
README.md
CHANGED
|
@@ -52,7 +52,7 @@ pipeline = Pipeline.from_pretrained(
|
|
| 52 |
output = pipeline("audio.wav")
|
| 53 |
|
| 54 |
# print the predicted speaker diarization
|
| 55 |
-
for turn,
|
| 56 |
print(f"{speaker} speaks between t={turn.start:.3f}s and t={turn.end:.3f}s")
|
| 57 |
```
|
| 58 |
|
|
|
|
| 52 |
output = pipeline("audio.wav")
|
| 53 |
|
| 54 |
# print the predicted speaker diarization
|
| 55 |
+
for turn, speaker in output.speaker_diarization:
|
| 56 |
print(f"{speaker} speaks between t={turn.start:.3f}s and t={turn.end:.3f}s")
|
| 57 |
```
|
| 58 |
|