atatakun commited on
Commit
9327857
·
verified ·
1 Parent(s): 2835c58

Update app.py

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