Spaces:
Runtime error
Runtime error
Matt C
commited on
Commit
•
3965ceb
1
Parent(s):
33ec467
tweak
Browse files
app.py
CHANGED
@@ -28,5 +28,5 @@ toxicProb = prediction.data[0][1]
|
|
28 |
# Neutral: 0.0052
|
29 |
# Toxic: 0.9948
|
30 |
st.write("Classification Probabilities")
|
31 |
-
st.write(f"{neutralProb
|
32 |
-
st.write(f"{toxicProb
|
|
|
28 |
# Neutral: 0.0052
|
29 |
# Toxic: 0.9948
|
30 |
st.write("Classification Probabilities")
|
31 |
+
st.write(f"{neutralProb:4.4} - NEUTRAL")
|
32 |
+
st.write(f"{toxicProb:4.4} - TOXIC")
|