Update app.py
Browse files
app.py
CHANGED
@@ -599,7 +599,7 @@ def draw_mask(l, t, v, d, evt: gr.EventData):
|
|
599 |
res = center[label.flatten()]
|
600 |
bg = res.reshape((bg.shape))
|
601 |
|
602 |
-
bg[bd>
|
603 |
bg[mask>0] = 0
|
604 |
bg[bg==255] = 0
|
605 |
|
|
|
599 |
res = center[label.flatten()]
|
600 |
bg = res.reshape((bg.shape))
|
601 |
|
602 |
+
bg[bd>16] = 0
|
603 |
bg[mask>0] = 0
|
604 |
bg[bg==255] = 0
|
605 |
|