LBLong commited on
Commit
73d3e51
·
verified ·
1 Parent(s): 501cd9b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -11,6 +11,7 @@ pipe = pipeline("image-classification", model="NTQAI/pedestrian_gender_recogniti
11
  model_path = hf_hub_download(repo_id="arnabdhar/YOLOv8-Face-Detection", filename="model.pt")
12
  model = YOLO(model_path)
13
 
 
14
  def detect_faces(image):
15
  output = model(image)
16
  results = Detections.from_ultralytics(output[0])
 
11
  model_path = hf_hub_download(repo_id="arnabdhar/YOLOv8-Face-Detection", filename="model.pt")
12
  model = YOLO(model_path)
13
 
14
+
15
  def detect_faces(image):
16
  output = model(image)
17
  results = Detections.from_ultralytics(output[0])