atatakun commited on
Commit
3c40296
·
verified ·
1 Parent(s): 9327857

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -236,7 +236,7 @@ def inpaint(image, invert):
236
  # alpha = 255 - image["mask"][:, :, 0:1]
237
  alpha = 255 - image["layers"][0][:, :, 0:1]
238
  # result = np.concatenate([color, alpha], axis=2)
239
- result = color
240
  return [result]
241
 
242
 
 
236
  # alpha = 255 - image["mask"][:, :, 0:1]
237
  alpha = 255 - image["layers"][0][:, :, 0:1]
238
  # result = np.concatenate([color, alpha], axis=2)
239
+ result = alpha
240
  return [result]
241
 
242