Spaces:
Build error
Build error
amansolanki
commited on
Commit
•
afcc7a7
1
Parent(s):
49d29aa
app changes
Browse files
app.py
CHANGED
@@ -59,10 +59,12 @@ predicted_label = y_pred_ensemble[0]
|
|
59 |
|
60 |
if true_label == 0:
|
61 |
st.write('True Label: non-hateful')
|
62 |
-
|
|
|
63 |
|
64 |
if predicted_label == 0:
|
65 |
st.write('Predicted Label: non-hateful')
|
66 |
-
|
|
|
67 |
|
68 |
st.button('Random Meme')
|
|
|
59 |
|
60 |
if true_label == 0:
|
61 |
st.write('True Label: non-hateful')
|
62 |
+
if true_label == 1:
|
63 |
+
st.write('True Label: hateful')
|
64 |
|
65 |
if predicted_label == 0:
|
66 |
st.write('Predicted Label: non-hateful')
|
67 |
+
if predicted_label == 1:
|
68 |
+
st.write('Predicted Label: hateful')
|
69 |
|
70 |
st.button('Random Meme')
|