bluestyle97 commited on
Commit
d70dae0
·
verified ·
1 Parent(s): 8d945dc

Update freesplatter/webui/runner.py

Browse files
Files changed (1) hide show
  1. freesplatter/webui/runner.py +1 -1
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, image)
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