notsahil commited on
Commit
bfb34be
·
verified ·
1 Parent(s): 304efa6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  import PIL.Image as Image
3
  from ultralytics import ASSETS, YOLO
4
 
5
- model = YOLO("yolo12n.pt")
6
 
7
  def predict_image(img, conf_threshold, iou_threshold):
8
  """Predicts persons in an image and returns the image with detections and count."""
 
2
  import PIL.Image as Image
3
  from ultralytics import ASSETS, YOLO
4
 
5
+ model = YOLO("yolo12x.pt")
6
 
7
  def predict_image(img, conf_threshold, iou_threshold):
8
  """Predicts persons in an image and returns the image with detections and count."""