Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,6 +10,7 @@ model_path = hf_hub_download(repo_id="arnabdhar/YOLOv8-Face-Detection", filename
|
|
10 |
model = YOLO(model_path)
|
11 |
|
12 |
def detect_faces(image):
|
|
|
13 |
output = model(image)
|
14 |
results = Detections.from_ultralytics(output[0])
|
15 |
|
|
|
10 |
model = YOLO(model_path)
|
11 |
|
12 |
def detect_faces(image):
|
13 |
+
|
14 |
output = model(image)
|
15 |
results = Detections.from_ultralytics(output[0])
|
16 |
|