OriLib commited on
Commit
89f2054
1 Parent(s): db25ffe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -53,10 +53,10 @@ def process(image):
53
  # paste the mask on the original image
54
  new_im = Image.new("RGBA", pil_im.size, (0,0,0,0))
55
  new_im.paste(orig_image, mask=pil_im)
56
- new_orig_image = new_orig_image.convert('RGBA')
57
 
58
  # return new_im
59
- return [orig_image, new_im]
60
 
61
 
62
  # block = gr.Blocks().queue()
 
53
  # paste the mask on the original image
54
  new_im = Image.new("RGBA", pil_im.size, (0,0,0,0))
55
  new_im.paste(orig_image, mask=pil_im)
56
+ new_orig_image = orig_image.convert('RGBA')
57
 
58
  # return new_im
59
+ return [new_orig_image, new_im]
60
 
61
 
62
  # block = gr.Blocks().queue()