Update app.py
Browse files
app.py
CHANGED
@@ -188,8 +188,8 @@ def main():
|
|
188 |
|
189 |
st.markdown(squeeze)
|
190 |
|
191 |
-
|
192 |
-
st.audio(
|
193 |
|
194 |
#2nd Attempt
|
195 |
# watermarked_audio = model(wav, sample_rate=default_sr, alpha=1)
|
|
|
188 |
|
189 |
st.markdown(squeeze)
|
190 |
|
191 |
+
torchaudio.save("output.wav", squeeze, default_sr)
|
192 |
+
st.audio("output.wav", format="audio/wav")
|
193 |
|
194 |
#2nd Attempt
|
195 |
# watermarked_audio = model(wav, sample_rate=default_sr, alpha=1)
|