Parthebhan commited on
Commit
eaaff34
·
verified ·
1 Parent(s): 27a5f62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = "<font color='green'>Biopsy Not Needed</font>"
23
  else:
24
- result = "<font color='red'>Biopsy Needed</font>"
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