Zw07 commited on
Commit
09fe599
·
verified ·
1 Parent(s): 301148b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -154,9 +154,10 @@ def main():
154
  watermarked_audio = wav + watermark
155
  # watermarked_audio, encode_time_cost = add_watermark(tmp_input_audio_file, watermark_text)
156
  st.write("Watermarked Audio:")
 
157
  print("watermarked_audio:", watermarked_audio)
158
- st.audio(watermarked_audio, format="audio/wav")
159
- st.write("Time Cost: %d seconds" % encode_time_cost)
160
 
161
  # # st.button("Add Watermark", disabled=False)
162
  # elif action == "Decode Watermark":
 
154
  watermarked_audio = wav + watermark
155
  # watermarked_audio, encode_time_cost = add_watermark(tmp_input_audio_file, watermark_text)
156
  st.write("Watermarked Audio:")
157
+ st.markdown(watermarked_audio)
158
  print("watermarked_audio:", watermarked_audio)
159
+ #st.audio(watermarked_audio, format="audio/wav")
160
+ #st.write("Time Cost: %d seconds" % encode_time_cost)
161
 
162
  # # st.button("Add Watermark", disabled=False)
163
  # elif action == "Decode Watermark":