Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -66,7 +66,7 @@ def main():
|
|
| 66 |
prediction = generate_prediction(np.array([[age, income, family_size, pin, Gender, Review, Marital_status, occupation, education]]))
|
| 67 |
|
| 68 |
# Show the prediction
|
| 69 |
-
st.write("Prediction:", prediction[
|
| 70 |
|
| 71 |
elif choice == "About":
|
| 72 |
st.subheader("About this app")
|
|
|
|
| 66 |
prediction = generate_prediction(np.array([[age, income, family_size, pin, Gender, Review, Marital_status, occupation, education]]))
|
| 67 |
|
| 68 |
# Show the prediction
|
| 69 |
+
st.write("Prediction:", prediction[0][1])
|
| 70 |
|
| 71 |
elif choice == "About":
|
| 72 |
st.subheader("About this app")
|