pavankm96 commited on
Commit
f2dbf2d
·
verified ·
1 Parent(s): 7d132bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=100
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: