Zw07 commited on
Commit
ffdec00
·
verified ·
1 Parent(s): c95c8e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -221,7 +221,7 @@ def main():
221
  # Export it as a WAV file
222
  audio.export("test.wav", format="wav")
223
  wav, sample_rate = torchaudio.load("test.wav")
224
- wav= wav.unsqueeze(0)
225
 
226
  result2, message2 = detector.detect_watermark(wav, sample_rate=default_sr, message_threshold=0.5)
227
  st.markdown("This is likely an unwatermarked audio:")
 
221
  # Export it as a WAV file
222
  audio.export("test.wav", format="wav")
223
  wav, sample_rate = torchaudio.load("test.wav")
224
+ #wav= wav.unsqueeze(0)
225
 
226
  result2, message2 = detector.detect_watermark(wav, sample_rate=default_sr, message_threshold=0.5)
227
  st.markdown("This is likely an unwatermarked audio:")