freealise commited on
Commit
5030db9
·
verified ·
1 Parent(s): 7f83d76

Update app.py

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