Browse Source

fix linter issues

Daniel Gatis 3 months ago
parent
commit
c817f5381c
1 changed files with 8 additions and 2 deletions
  1. 8 2
      rembg/bg.py

+ 8 - 2
rembg/bg.py

@@ -5,8 +5,14 @@ from typing import Any, List, Optional, Tuple, Union, cast
 
 import numpy as np
 import onnxruntime as ort
-from cv2 import (BORDER_DEFAULT, MORPH_ELLIPSE, MORPH_OPEN, GaussianBlur,
-                 getStructuringElement, morphologyEx)
+from cv2 import (
+    BORDER_DEFAULT,
+    MORPH_ELLIPSE,
+    MORPH_OPEN,
+    GaussianBlur,
+    getStructuringElement,
+    morphologyEx,
+)
 from PIL import Image, ImageOps
 from PIL.Image import Image as PILImage
 from pymatting.alpha.estimate_alpha_cf import estimate_alpha_cf