Zw07 commited on
Commit
0ceb9e0
·
verified ·
1 Parent(s): 0edde9b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -152,6 +152,8 @@ def main():
152
  #wav = my_read_file(wav,max_second_encode)
153
  watermark = model.get_watermark(wav, default_sr)
154
  watermarked_audio = wav + watermark
 
 
155
  watermarked_audio = torchaudio.save("output.wav", watermarked_audio, default_sr)
156
  # watermarked_audio, encode_time_cost = add_watermark(tmp_input_audio_file, watermark_text)
157
  st.write("Watermarked Audio:")
 
152
  #wav = my_read_file(wav,max_second_encode)
153
  watermark = model.get_watermark(wav, default_sr)
154
  watermarked_audio = wav + watermark
155
+ shape = watermarked_audio.shape()
156
+ st.markdown(shape)
157
  watermarked_audio = torchaudio.save("output.wav", watermarked_audio, default_sr)
158
  # watermarked_audio, encode_time_cost = add_watermark(tmp_input_audio_file, watermark_text)
159
  st.write("Watermarked Audio:")