rdjarbeng commited on
Commit
45070c2
·
1 Parent(s): 8f47cc8

log keyword args

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -39,6 +39,7 @@ def remove_background(input_image, bg_color, model_name, alpha_matting, post_pro
39
  "alpha_matting_erode_size": 11
40
  })
41
 
 
42
  # Use the remove function
43
  if session or bg_color_rgba:
44
  output_image = remove(input_image, **{k: v for k, v in remove_kwargs.items() if v is not None})
 
39
  "alpha_matting_erode_size": 11
40
  })
41
 
42
+ logging.info(remove_kwargs)
43
  # Use the remove function
44
  if session or bg_color_rgba:
45
  output_image = remove(input_image, **{k: v for k, v in remove_kwargs.items() if v is not None})