Porjaz commited on
Commit
534456d
·
verified ·
1 Parent(s): f47fb75

Update custom_interface_app.py

Browse files
Files changed (1) hide show
  1. 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