Taoheed-O commited on
Commit
69705e3
1 Parent(s): aaee19b
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -54,9 +54,9 @@ def main():
54
  if st.button('Predict'):
55
  result = prediction(text)
56
  if result == 0:
57
- st.error('This is not a spam mail/sms.'.format(result))
58
  else:
59
- st.success('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
 
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