Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +6 -1
src/streamlit_app.py
CHANGED
|
@@ -37,4 +37,9 @@ input_data = {
|
|
| 37 |
'Store_Size': store_size,
|
| 38 |
'Store_Location_City_Type': store_location_city_type,
|
| 39 |
'Store_Type': store_type,
|
| 40 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
'Store_Size': store_size,
|
| 38 |
'Store_Location_City_Type': store_location_city_type,
|
| 39 |
'Store_Type': store_type,
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
# Predict button
|
| 43 |
+
if st.button("Predict"):
|
| 44 |
+
result = model.predict(input_data).tolist()
|
| 45 |
+
st.write(f"Prediction: The customer is likely to **{result}**.")
|