Zw07 commited on
Commit
a39f236
·
verified ·
1 Parent(s): 71c9ddf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -69,7 +69,7 @@ def main():
69
  if add_watermark_button: # 点击按钮后执行的
70
  if audio_file and watermark_text:
71
  with st.spinner("Adding Watermark..."):
72
- watermark = model.get_watermark(wav, default_sr)
73
  # watermarked_audio, encode_time_cost = add_watermark(tmp_input_audio_file, watermark_text)
74
  # st.write("Watermarked Audio:")
75
  # print("watermarked_audio:", watermarked_audio)
 
69
  if add_watermark_button: # 点击按钮后执行的
70
  if audio_file and watermark_text:
71
  with st.spinner("Adding Watermark..."):
72
+ watermark = model.get_watermark(tmp_input_audio_file, default_sr)
73
  # watermarked_audio, encode_time_cost = add_watermark(tmp_input_audio_file, watermark_text)
74
  # st.write("Watermarked Audio:")
75
  # print("watermarked_audio:", watermarked_audio)