Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove_background_from_img_file() got an unexpected keyword argument 'new_file_name' #24

Open
Holmes-Alan opened this issue Aug 3, 2022 · 2 comments

Comments

@Holmes-Alan
Copy link

Holmes-Alan commented Aug 3, 2022

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?

@yxKryptonite
Copy link

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

@yxKryptonite
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants