mcrlc commited on
Commit
eb5f90c
1 Parent(s): bb450fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -135,11 +135,11 @@ def inference(image: Image):
135
  im_rgba.putalpha(pil_mask)
136
 
137
  # Apply Background
138
- bg_color = 0x00C49A
139
  w = im_rgba.size[0]
140
  h = im_rgba.size[1]
141
 
142
- bg = Image.new("RGB", (w,h), bg_color)
143
  im_colored = Image.new("RGBA", (w,h))
144
  im_colored.paste(bg)
145
  im_colored.paste(im_rgba)
 
135
  im_rgba.putalpha(pil_mask)
136
 
137
  # Apply Background
138
+ bg_color = 0x00C49AFF
139
  w = im_rgba.size[0]
140
  h = im_rgba.size[1]
141
 
142
+ bg = Image.new("RGBA", (w,h), bg_color)
143
  im_colored = Image.new("RGBA", (w,h))
144
  im_colored.paste(bg)
145
  im_colored.paste(im_rgba)