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

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>64] = 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>32] = 0
603
  bg[mask>0] = 0
604
  bg[bg==255] = 0
605