Update app.py
Browse files
app.py
CHANGED
|
@@ -205,10 +205,10 @@ def main():
|
|
| 205 |
|
| 206 |
if detect_watermark_button:
|
| 207 |
with st.spinner("Detecting..."):
|
| 208 |
-
result, message = detector.detect_watermark(watermarked_audio, sample_rate=default_sr, message_threshold=0.5)
|
| 209 |
-
st.markdown("This is likely a watermarked audio:")
|
| 210 |
-
st.markdown(result)
|
| 211 |
-
print(f"\nThis is likely a watermarked audio: {result}")
|
| 212 |
|
| 213 |
# Run on an unwatermarked audio
|
| 214 |
|
|
|
|
| 205 |
|
| 206 |
if detect_watermark_button:
|
| 207 |
with st.spinner("Detecting..."):
|
| 208 |
+
# result, message = detector.detect_watermark(watermarked_audio, sample_rate=default_sr, message_threshold=0.5)
|
| 209 |
+
# st.markdown("This is likely a watermarked audio:")
|
| 210 |
+
# st.markdown(result)
|
| 211 |
+
# print(f"\nThis is likely a watermarked audio: {result}")
|
| 212 |
|
| 213 |
# Run on an unwatermarked audio
|
| 214 |
|