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