Update app.py
Browse files
app.py
CHANGED
|
@@ -19,9 +19,9 @@ def cerviccancer(Age, Num_sexual_partners, First_sexual_intercourse, Num_pregnan
|
|
| 19 |
|
| 20 |
# Categorize prediction_value
|
| 21 |
if prediction_value == 0:
|
| 22 |
-
result = "
|
| 23 |
else:
|
| 24 |
-
result = "
|
| 25 |
|
| 26 |
return f"Predicted probability of Biopsy: {prediction_value} \n\nResult: {result}"
|
| 27 |
|
|
|
|
| 19 |
|
| 20 |
# Categorize prediction_value
|
| 21 |
if prediction_value == 0:
|
| 22 |
+
result = "Biopsy Not Needed 🟢"
|
| 23 |
else:
|
| 24 |
+
result = "Biopsy Needed 🔴"
|
| 25 |
|
| 26 |
return f"Predicted probability of Biopsy: {prediction_value} \n\nResult: {result}"
|
| 27 |
|