emilios commited on
Commit
68f192d
·
verified ·
1 Parent(s): dd1c3e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def inference(img):
38
  #thresh = threshold_otsu(denoise)
39
  thresh = threshold_otsu(gray)
40
  #out = closing(denoise > thresh, square(2))
41
- out = gray > thresh
42
 
43
 
44
  return out
 
38
  #thresh = threshold_otsu(denoise)
39
  thresh = threshold_otsu(gray)
40
  #out = closing(denoise > thresh, square(2))
41
+ out =gray>thresh
42
 
43
 
44
  return out