Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from PIL import Image
import numpy as np
import torch
from rembg import remove

class SwarmRemBg:
@classmethod
Expand All @@ -17,6 +16,7 @@ def INPUT_TYPES(s):
FUNCTION = "rem"

def rem(self, images):
from rembg import remove
output = []
masks = []
for image in images:
Expand Down