Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 =
|
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
|