Kquan commited on
Commit
1ce219b
·
verified ·
1 Parent(s): 557cbad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def diarize(audio_file_path):
19
 
20
  # Collect readable results
21
  results = []
22
- for turn, speaker in output.speaker_diarization:
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
  )