Zw07 commited on
Commit
80f55a4
·
verified ·
1 Parent(s): 91186c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -198,7 +198,10 @@ def main():
198
  print(f"This is likely an unwatermarked audio: {result2}")
199
  st.markdown("Probability of audio being watermarked: ")
200
  st.markdown(result2)
201
- st.markdown("This is likely an unwatermarked audio!")
 
 
 
202
 
203
  except RuntimeError:
204
  st.error("Please input audio with one channel (mono-channel)")
 
198
  print(f"This is likely an unwatermarked audio: {result2}")
199
  st.markdown("Probability of audio being watermarked: ")
200
  st.markdown(result2)
201
+ if result2 < 0.5:
202
+ st.markdown("This is likely an unwatermarked audio!")
203
+ else:
204
+ st.markdown("This is likely an watermarked audio!")
205
 
206
  except RuntimeError:
207
  st.error("Please input audio with one channel (mono-channel)")