vibs08 commited on
Commit
3169180
·
verified ·
1 Parent(s): a1c7670

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -167,6 +167,7 @@ def preprocess(input_image, do_remove_background, foreground_ratio):
167
  image = remove_background(image, rembg_session)
168
  image = resize_foreground(image, foreground_ratio)
169
  image = fill_background(image)
 
170
  else:
171
  image = input_image
172
  if image.mode == "RGBA":
 
167
  image = remove_background(image, rembg_session)
168
  image = resize_foreground(image, foreground_ratio)
169
  image = fill_background(image)
170
+ print("do_remove_back")
171
  else:
172
  image = input_image
173
  if image.mode == "RGBA":