Update custom_interface_app.py
Browse files- custom_interface_app.py +1 -1
custom_interface_app.py
CHANGED
@@ -100,7 +100,7 @@ class ASR(Pretrained):
|
|
100 |
waveform = torchaudio.transforms.Resample(file_sr, sr)(waveform)
|
101 |
|
102 |
# limit to 1 min
|
103 |
-
waveform = waveform[:, :60*sr]
|
104 |
|
105 |
waveform = waveform.squeeze()
|
106 |
audio_length = len(waveform) / sr
|
|
|
100 |
waveform = torchaudio.transforms.Resample(file_sr, sr)(waveform)
|
101 |
|
102 |
# limit to 1 min
|
103 |
+
# waveform = waveform[:, :60*sr]
|
104 |
|
105 |
waveform = waveform.squeeze()
|
106 |
audio_length = len(waveform) / sr
|