Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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])
|