Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def ui():
|
|
51 |
#creating a mixture of our audio file and the noise file
|
52 |
waveform_mix = generate_mixture(waveform_clean, waveform_noise, target_snr)
|
53 |
#making the files into torch double format
|
54 |
-
waveform_mix = waveform_mix.to(torch.double)
|
55 |
#computing STFT
|
56 |
stft_mix = stft(waveform_mix)
|
57 |
#plotting the spectogram
|
|
|
51 |
#creating a mixture of our audio file and the noise file
|
52 |
waveform_mix = generate_mixture(waveform_clean, waveform_noise, target_snr)
|
53 |
#making the files into torch double format
|
54 |
+
# waveform_mix = waveform_mix.to(torch.double)
|
55 |
#computing STFT
|
56 |
stft_mix = stft(waveform_mix)
|
57 |
#plotting the spectogram
|