mirror of
https://git.mirrors.martin98.com/https://github.com/danielgatis/rembg
synced 2025-08-19 18:39:10 +08:00
fix linters
This commit is contained in:
parent
2bb949fb0b
commit
d1e00734f8
@ -162,7 +162,7 @@ def b_command(
|
||||
if not img_bytes:
|
||||
break
|
||||
|
||||
img = Image.frombytes("RGB", (image_width, image_height), img_bytes)
|
||||
img = PILImage.frombytes("RGB", (image_width, image_height), img_bytes)
|
||||
output = remove(img, session=session, **kwargs)
|
||||
|
||||
if output_specifier:
|
||||
|
Loading…
x
Reference in New Issue
Block a user