erastorgueva-nv
commited on
Commit
•
e2894da
1
Parent(s):
a28041c
librosa load mono = True
Browse files
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=
|
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 |
|