Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -58,9 +58,9 @@ data = pd.DataFrame({
|
|
| 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 |
|
|
|
|
| 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 |
|