Spaces:
Runtime error
Runtime error
fix
Browse files
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(
|
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"
|