Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from PIL import Image
|
|
| 5 |
import numpy as np
|
| 6 |
|
| 7 |
model_path = hf_hub_download(repo_id="arnabdhar/YOLOv8-Face-Detection", filename="model.pt")
|
| 8 |
-
model = YOLO(model_path)
|
| 9 |
|
| 10 |
def detect_faces(image):
|
| 11 |
|
|
|
|
| 5 |
import numpy as np
|
| 6 |
|
| 7 |
model_path = hf_hub_download(repo_id="arnabdhar/YOLOv8-Face-Detection", filename="model.pt")
|
| 8 |
+
#model = YOLO(model_path)
|
| 9 |
|
| 10 |
def detect_faces(image):
|
| 11 |
|