Update app.py
Browse files
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(
|
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)
|