rembg
rembg copied to clipboard
[BUG] Please update remove to not use deprecated PIL resampling function!
Remove() no longer works because the new PIL version no longer supports the "Resampling" method.
Line 21 in session_base.py should be changed to: im = img.convert("RGB").resize(size, Image.LANCZOS)
Thanks :)