kkhushisaid commited on
Commit
28f81c5
·
verified ·
1 Parent(s): 6d7a578

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -54,9 +54,9 @@ def app_design(le):
54
  if st.button('Predict Online Payment Fraud'):
55
  predicted_value = model_prediction(model, features)
56
  if predicted_value == '1':
57
- st.success("Online payment fraud not happened")
58
  else:
59
- st.success("Online payment fraud happened")
60
 
61
  def about_RamDevs():
62
  components.html("""
 
54
  if st.button('Predict Online Payment Fraud'):
55
  predicted_value = model_prediction(model, features)
56
  if predicted_value == '1':
57
+ st.success("Online payment fraud detected")
58
  else:
59
+ st.success("No online payment fraud detected")
60
 
61
  def about_RamDevs():
62
  components.html("""