Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -86,7 +86,7 @@ with st.expander("🔹 **Medical Information**", expanded=True):
|
|
| 86 |
|
| 87 |
if st.button("🔍 Predict Risk"):
|
| 88 |
try:
|
| 89 |
-
input_data = [[Age,BMI,Menstrual_Irregularity,Testosterone_Level,Antral_Follicle_Count]
|
| 90 |
|
| 91 |
prediction = model.predict(input_data)[0]
|
| 92 |
probability = model.predict_proba(input_data)[0][1] * 100
|
|
|
|
| 86 |
|
| 87 |
if st.button("🔍 Predict Risk"):
|
| 88 |
try:
|
| 89 |
+
input_data = [[Age,BMI,Menstrual_Irregularity,Testosterone_Level,Antral_Follicle_Count]]
|
| 90 |
|
| 91 |
prediction = model.predict(input_data)[0]
|
| 92 |
probability = model.predict_proba(input_data)[0][1] * 100
|