czyoung commited on
Commit
b8faeb7
·
verified ·
1 Parent(s): 68956f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -103,6 +103,7 @@ def processFile(filePath):
103
  waveform_gain_adjusted = su.equalizeVolume()(waveformEnhanced,sampleRate,gainWindow,minimumGain,maximumGain)
104
  print("Audio Equalized")
105
  print("Detecting speakers")
 
106
  annotations = pipeline({"waveform": waveformEnhanced, "sample_rate": sampleRate})
107
  print("Speakers Detected")
108
  speakerList = su.annotationToSpeakerList(annotations)
 
103
  waveform_gain_adjusted = su.equalizeVolume()(waveformEnhanced,sampleRate,gainWindow,minimumGain,maximumGain)
104
  print("Audio Equalized")
105
  print("Detecting speakers")
106
+ time.sleep(10)
107
  annotations = pipeline({"waveform": waveformEnhanced, "sample_rate": sampleRate})
108
  print("Speakers Detected")
109
  speakerList = su.annotationToSpeakerList(annotations)