LBLong commited on
Commit
cfd0489
·
verified ·
1 Parent(s): e7bf0d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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", setting local_files_only=True)
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):