Cruise949 commited on
Commit
44fe12b
·
verified ·
1 Parent(s): e9b19b6

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -58,9 +58,9 @@ data = pd.DataFrame({
58
  })
59
 
60
  if st.button("Predict"):
61
- prediction = model.predict(data)[0,1]
62
  pred = "purchase" if (prediction == 1 ) else "not purchase"
63
- st.write("Based on the prediction, the customer will", pred,"the travel product")
64
 
65
 
66
 
 
58
  })
59
 
60
  if st.button("Predict"):
61
+ prediction = model.predict(data)[0]
62
  pred = "purchase" if (prediction == 1 ) else "not purchase"
63
+ st.write("Based on the prediction, the customer will ", pred," the travel product")
64
 
65
 
66