erastorgueva-nv commited on
Commit
e2894da
1 Parent(s): a28041c

librosa load mono = True

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ def convert_audio(audio_filepath, tmpdir, utt_id):
47
  Returns output filename and duration.
48
  """
49
 
50
- data, sr = librosa.load(audio_filepath, sr=None, mono=False)
51
 
52
  duration = librosa.get_duration(y=data, sr=sr)
53
 
 
47
  Returns output filename and duration.
48
  """
49
 
50
+ data, sr = librosa.load(audio_filepath, sr=None, mono=True)
51
 
52
  duration = librosa.get_duration(y=data, sr=sr)
53