asvravi commited on
Commit
91f3db9
·
verified ·
1 Parent(s): 55b8c16

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -218,4 +218,7 @@ if st.button("Predict"):
218
  prediction_proba = model.predict_proba(input_data)[0, 1]
219
  prediction = (prediction_proba >= classification_threshold).astype(int)
220
  result = "likely to buy" if prediction == 1 else "not likely to buy"
221
- st.write(f"Based on the information provided, the customer is {result} the new tourism package.")
 
 
 
 
218
  prediction_proba = model.predict_proba(input_data)[0, 1]
219
  prediction = (prediction_proba >= classification_threshold).astype(int)
220
  result = "likely to buy" if prediction == 1 else "not likely to buy"
221
+ st.subheader("Prediction Result")
222
+ st.markdown(
223
+ f"Based on the information provided, the customer is **{result}** the new tourism package."
224
+ )