bayartsogt commited on
Commit
5776c8c
1 Parent(s): 5e39020

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -44,6 +44,8 @@ def generator(youtube_link, microphone, file_upload, num_speakers, max_duration,
44
  "waveform": waveform_tensor,
45
  "sample_rate": sampling_rate,
46
  }, num_speakers=num_speakers)
 
 
47
 
48
  for speech_turn, track, speaker in dia_result.itertracks(yield_label=True):
49
  print(f"{speech_turn.start:4.1f} {speech_turn.end:4.1f} {speaker}")
 
44
  "waveform": waveform_tensor,
45
  "sample_rate": sampling_rate,
46
  }, num_speakers=num_speakers)
47
+
48
+ counter = 1
49
 
50
  for speech_turn, track, speaker in dia_result.itertracks(yield_label=True):
51
  print(f"{speech_turn.start:4.1f} {speech_turn.end:4.1f} {speaker}")