Skip to content

Commit

Permalink
fix linters
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgatis committed May 24, 2024
1 parent 2bb949f commit d1e0073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rembg/commands/b_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ async def main():
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:
Expand Down

0 comments on commit d1e0073

Please sign in to comment.