brilam / remove-bg

A Python API wrapper for removing background using remove.bg's API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

remove_background_from_img_file() got an unexpected keyword argument 'new_file_name'

Holmes-Alan opened this issue · 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?

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