Ezi commited on
Commit
d547d17
1 Parent(s): a293ffc

Rename streamlit_test_space.py to app.py

Browse files
Files changed (1) hide show
  1. streamlit_test_space.py → app.py +2 -2
streamlit_test_space.py → app.py RENAMED
@@ -36,7 +36,7 @@ def add_watermark(audio_path, watermark_text):
36
  def decode_watermark(audio_path):
37
  assert os.path.exists(audio_path)
38
 
39
- #t1 = time.time()
40
  signal, sr, audio_length_second = my_read_file(audio_path, max_second_decode)
41
  payload_decoded, _ = wavmark.decode_watermark(model, signal, show_progress=False)
42
  decode_cost = time.time() - t1
@@ -46,7 +46,7 @@ def decode_watermark(audio_path):
46
 
47
  payload_decoded_str = "".join([str(i) for i in payload_decoded])
48
  st.write("Result:", payload_decoded_str)
49
- #st.write("Time Cost:%d seconds" % (decode_cost))
50
 
51
 
52
  def create_default_value():
 
36
  def decode_watermark(audio_path):
37
  assert os.path.exists(audio_path)
38
 
39
+
40
  signal, sr, audio_length_second = my_read_file(audio_path, max_second_decode)
41
  payload_decoded, _ = wavmark.decode_watermark(model, signal, show_progress=False)
42
  decode_cost = time.time() - t1
 
46
 
47
  payload_decoded_str = "".join([str(i) for i in payload_decoded])
48
  st.write("Result:", payload_decoded_str)
49
+
50
 
51
 
52
  def create_default_value():