Spaces:
Runtime error
Runtime error
updated
Browse files
app.py
CHANGED
@@ -54,9 +54,9 @@ def main():
|
|
54 |
if st.button('Predict'):
|
55 |
result = prediction(text)
|
56 |
if result == 0:
|
57 |
-
st.
|
58 |
else:
|
59 |
-
st.
|
60 |
else:
|
61 |
st.warning('This model is under development and not available for predicting yet.'.format(result))
|
62 |
pass
|
|
|
54 |
if st.button('Predict'):
|
55 |
result = prediction(text)
|
56 |
if result == 0:
|
57 |
+
st.success('This is not a spam mail/sms.'.format(result))
|
58 |
else:
|
59 |
+
st.error('This is a spam mail/sms.'.format(result))
|
60 |
else:
|
61 |
st.warning('This model is under development and not available for predicting yet.'.format(result))
|
62 |
pass
|