Update audio2text/a2t.py
Browse files- audio2text/a2t.py +1 -1
audio2text/a2t.py
CHANGED
@@ -23,7 +23,7 @@ class A2T:
|
|
23 |
if sampling_rate > 16000:
|
24 |
chunk = librosa.resample(chunk, orig_sr=sampling_rate, target_sr=16000)
|
25 |
|
26 |
-
chunk = chunk[:16000*LIMIT]
|
27 |
|
28 |
return chunk
|
29 |
|
|
|
23 |
if sampling_rate > 16000:
|
24 |
chunk = librosa.resample(chunk, orig_sr=sampling_rate, target_sr=16000)
|
25 |
|
26 |
+
# chunk = chunk[:16000*LIMIT]
|
27 |
|
28 |
return chunk
|
29 |
|