remove-bg
remove-bg copied to clipboard
remove_background_from_img_file() got an unexpected keyword argument 'new_file_name'
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?
You can edit the source code in your site-packages folder and add a new_file_name
argument.
Or you can clone this repository and do pip install .
to install the latest version