Spaces:
Running
on
Zero
Running
on
Zero
bluestyle97
commited on
Update freesplatter/webui/runner.py
Browse files
freesplatter/webui/runner.py
CHANGED
@@ -161,7 +161,7 @@ class FreeSplatterRunner:
|
|
161 |
torch.cuda.empty_cache()
|
162 |
|
163 |
if do_rembg:
|
164 |
-
image = remove_background(self.rembg
|
165 |
|
166 |
return image
|
167 |
|
|
|
161 |
torch.cuda.empty_cache()
|
162 |
|
163 |
if do_rembg:
|
164 |
+
image = remove_background(image, self.rembg)
|
165 |
|
166 |
return image
|
167 |
|