Rob Caamano
commited on
Update app.py
Browse files
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!"
|
57 |
else:
|
58 |
-
st.warning('This tweet is likely to be toxic.'
|
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)
|