Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def img_pred(upload):
|
|
22 |
if confidence < 0.20:
|
23 |
if confidence <0.10:
|
24 |
result="No Tumor"
|
25 |
-
confidence=
|
26 |
else:
|
27 |
result = "Uncertain"
|
28 |
else:
|
|
|
22 |
if confidence < 0.20:
|
23 |
if confidence <0.10:
|
24 |
result="No Tumor"
|
25 |
+
confidence=1
|
26 |
else:
|
27 |
result = "Uncertain"
|
28 |
else:
|