alexff91 commited on
Commit
11d42c3
Β·
1 Parent(s): 6d377a2
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -26,7 +26,6 @@ from preprocess.openpose.run_openpose import OpenPose
26
  from detectron2.data.detection_utils import convert_PIL_to_numpy, _apply_exif_orientation
27
  from torchvision.transforms.functional import to_pil_image
28
 
29
-
30
  def pil_to_binary_mask(pil_image, threshold=0):
31
  np_image = np.array(pil_image)
32
  grayscale_image = Image.fromarray(np_image).convert("L")
 
26
  from detectron2.data.detection_utils import convert_PIL_to_numpy, _apply_exif_orientation
27
  from torchvision.transforms.functional import to_pil_image
28
 
 
29
  def pil_to_binary_mask(pil_image, threshold=0):
30
  np_image = np.array(pil_image)
31
  grayscale_image = Image.fromarray(np_image).convert("L")