azamat commited on
Commit
f7db087
1 Parent(s): 9ca6f22
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ SAMPLE_RATE = 22050
22
  def load_simple(filename):
23
  wav, sr = torchaudio.load(filename)
24
  resampler = T.Resample(sr, SAMPLE_RATE, dtype=wav.dtype)
25
- resampled_wav = resampler(audio)
26
  return resampled_wav
27
 
28
  CONFIG = "configs/DNS-large-full.json"
 
22
  def load_simple(filename):
23
  wav, sr = torchaudio.load(filename)
24
  resampler = T.Resample(sr, SAMPLE_RATE, dtype=wav.dtype)
25
+ resampled_wav = resampler(wav)
26
  return resampled_wav
27
 
28
  CONFIG = "configs/DNS-large-full.json"