Update app.py
Browse files204 unmodified lines205206207208209210211208209210211212213214204 unmodified lines if detect_watermark_button: with st.spinner("Detecting..."): result, message = detector.detect_watermark(watermarked_audio, sample_rate=default_sr, message_threshold=0.5) st.markdown("This is likely a watermarked audio:") st.markdown(result) print(f"\nThis is likely a watermarked audio: {result}") # result, message = detector.detect_watermark(watermarked_audio, sample_rate=default_sr, message_threshold=0.5) # st.markdown("This is likely a watermarked audio:") # st.markdown(result) # print(f"\nThis is likely a watermarked audio: {result}")
# Run on an unwatermarked audio
app.py+4-4