njgroene commited on
Commit
1f89823
1 Parent(s): a00e8fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ from torch_mtcnn import detect_faces
14
  from torch_mtcnn import show_bboxes
15
 
16
  # pipeline = pipeline(task="image-classification", model="njgroene/fairface")
17
- def pipeline(image):
18
  bounding_boxes, landmarks = detect_faces(img)
19
 
20
  img_cropped = img.crop(bb)
 
14
  from torch_mtcnn import show_bboxes
15
 
16
  # pipeline = pipeline(task="image-classification", model="njgroene/fairface")
17
+ def pipeline(img):
18
  bounding_boxes, landmarks = detect_faces(img)
19
 
20
  img_cropped = img.crop(bb)