remove-bg icon indicating copy to clipboard operation
remove-bg copied to clipboard

remove_background_from_img_file() got an unexpected keyword argument 'new_file_name'

Open Holmes-Alan opened this issue 2 years ago • 2 comments

I tried to use "new_file_name" to define the output path like,

rmbg.remove_background_from_img_file(img_file_path=img_p, new_file_name=out_path)

but it shows me this error. What is the problem?

Holmes-Alan avatar Aug 03 '22 02:08 Holmes-Alan

You can edit the source code in your site-packages folder and add a new_file_name argument.

yxKryptonite avatar Sep 29 '22 02:09 yxKryptonite

Or you can clone this repository and do pip install . to install the latest version

yxKryptonite avatar Sep 29 '22 02:09 yxKryptonite