Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -257,7 +257,7 @@ if st.button("Highlight Geo-Entities"):
|
|
257 |
|
258 |
if(prediction == 0):
|
259 |
st.write("Prediction: Not Spam")
|
260 |
-
|
261 |
st.write("Prediction: Spam")
|
262 |
else:
|
263 |
st.write("error during prediction")
|
|
|
257 |
|
258 |
if(prediction == 0):
|
259 |
st.write("Prediction: Not Spam")
|
260 |
+
elif(prediction == 1):
|
261 |
st.write("Prediction: Spam")
|
262 |
else:
|
263 |
st.write("error during prediction")
|