Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -209,8 +209,8 @@ st.markdown("---")
|
|
| 209 |
if st.button("🔍 Predict", use_container_width=True):
|
| 210 |
|
| 211 |
prediction = model.predict(input_df)[0]
|
| 212 |
-
result = "
|
| 213 |
-
else "
|
| 214 |
|
| 215 |
st.success(result)
|
| 216 |
|
|
|
|
| 209 |
if st.button("🔍 Predict", use_container_width=True):
|
| 210 |
|
| 211 |
prediction = model.predict(input_df)[0]
|
| 212 |
+
result = "Based on the information provided, the customer is **likely** to purchase the product." if prediction == 1 \
|
| 213 |
+
else "Based on the information provided, the customer is **unlikely** to purchase the product."
|
| 214 |
|
| 215 |
st.success(result)
|
| 216 |
|