Rob Caamano commited on
Commit
c21236a
·
unverified ·
1 Parent(s): 08728c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -53,9 +53,9 @@ if submit:
53
  st.write(f"#### **{classes[max_class]:.2f}%**")
54
 
55
  if results["toxic"] < 0.5:
56
- st.success("This tweet is unlikely to be be toxic!", icon=":white_check_mark:")
57
  else:
58
- st.warning('This tweet is likely to be toxic.', icon=":warning:")
59
 
60
  expander = st.expander("Raw output")
61
  expander.write(results)
 
53
  st.write(f"#### **{classes[max_class]:.2f}%**")
54
 
55
  if results["toxic"] < 0.5:
56
+ st.success("This tweet is unlikely to be be toxic!")
57
  else:
58
+ st.warning('This tweet is likely to be toxic.')
59
 
60
  expander = st.expander("Raw output")
61
  expander.write(results)