freealise commited on
Commit
c17c917
·
verified ·
1 Parent(s): dff78f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -607,7 +607,6 @@ def draw_mask(l, t, th, v, d, evt: gr.EventData):
607
  res = center[label.flatten()]
608
  bg = res.reshape((bg.shape))
609
 
610
- bg[bd>th] = 0
611
  bg[mask>0] = 0
612
  bg[bg==255] = 0
613
 
 
607
  res = center[label.flatten()]
608
  bg = res.reshape((bg.shape))
609
 
 
610
  bg[mask>0] = 0
611
  bg[bg==255] = 0
612