Zw07 commited on
Commit
7217d9b
1 Parent(s): c411012

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -188,8 +188,8 @@ def main():
188
 
189
  st.markdown(squeeze)
190
 
191
- watermarked_audio = torchaudio.save("output.wav", squeeze, default_sr)
192
- st.audio(watermarked_audio, format="audio/wav")
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)