Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -60,6 +60,7 @@ def ui():
|
|
60 |
#showing mixed audio in streamlit
|
61 |
|
62 |
torchaudio.save("./waveform_mix.wav", waveform_mix, sr)
|
|
|
63 |
st.audio("./waveform_mix.wav")
|
64 |
#getting the irms
|
65 |
irm_speech, irm_noise = get_irms(stft_clean, stft_noise)
|
@@ -73,6 +74,7 @@ def ui():
|
|
73 |
waveform_souden = waveform_souden.reshape(1, -1)
|
74 |
# st.image(spec_clean_img)
|
75 |
torchaudio.save("./waveform_souden.wav", waveform_souden, sr)
|
|
|
76 |
st.audio("./waveform_souden.wav")
|
77 |
|
78 |
if __name__=="__main__":
|
|
|
60 |
#showing mixed audio in streamlit
|
61 |
|
62 |
torchaudio.save("./waveform_mix.wav", waveform_mix, sr)
|
63 |
+
st.text("The noise mixed audio")
|
64 |
st.audio("./waveform_mix.wav")
|
65 |
#getting the irms
|
66 |
irm_speech, irm_noise = get_irms(stft_clean, stft_noise)
|
|
|
74 |
waveform_souden = waveform_souden.reshape(1, -1)
|
75 |
# st.image(spec_clean_img)
|
76 |
torchaudio.save("./waveform_souden.wav", waveform_souden, sr)
|
77 |
+
st.text("The cleaned Audio")
|
78 |
st.audio("./waveform_souden.wav")
|
79 |
|
80 |
if __name__=="__main__":
|