Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ def cerviccancer(Age, Num_sexual_partners, First_sexual_intercourse, Num_pregnan
|
|
| 18 |
prediction_value = prediction[0]
|
| 19 |
|
| 20 |
# Categorize prediction_value
|
| 21 |
-
|
| 22 |
result = "Biopsy Not Needed"
|
| 23 |
color = "green"
|
| 24 |
else:
|
|
|
|
| 18 |
prediction_value = prediction[0]
|
| 19 |
|
| 20 |
# Categorize prediction_value
|
| 21 |
+
if prediction_value == 0:
|
| 22 |
result = "Biopsy Not Needed"
|
| 23 |
color = "green"
|
| 24 |
else:
|