rishirajbal commited on
Commit
bebde2f
·
verified ·
1 Parent(s): eb80dfb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def classify_image_and_stats(image_input):
46
  total_area = IMG_HEIGHT * IMG_WIDTH
47
  tumor_ratio = tumor_area / total_area
48
 
49
- tumor_label = "Tumor Detected" if tumor_ratio > 0.0035 else "No Tumor Detected"
50
 
51
  overlay = np.array(img)
52
  red_mask = np.zeros_like(overlay)
 
46
  total_area = IMG_HEIGHT * IMG_WIDTH
47
  tumor_ratio = tumor_area / total_area
48
 
49
+ tumor_label = "Tumor Detected" if tumor_ratio > 0.005 else "No Tumor Detected"
50
 
51
  overlay = np.array(img)
52
  red_mask = np.zeros_like(overlay)