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