Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ def diarize(audio_file_path):
|
|
| 19 |
|
| 20 |
# Collect readable results
|
| 21 |
results = []
|
| 22 |
-
for turn, speaker in
|
| 23 |
results.append(
|
| 24 |
f"{speaker} speaks between t={turn.start:.3f}s and t={turn.end:.3f}s"
|
| 25 |
)
|
|
|
|
| 19 |
|
| 20 |
# Collect readable results
|
| 21 |
results = []
|
| 22 |
+
for turn, speaker in diarization.speaker_diarization:
|
| 23 |
results.append(
|
| 24 |
f"{speaker} speaks between t={turn.start:.3f}s and t={turn.end:.3f}s"
|
| 25 |
)
|