Vombit commited on
Commit
c0f39f6
·
verified ·
1 Parent(s): a7bfaf2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ model = YOLO(model_path, task="detect")
8
 
9
  def predict(image):
10
  global model
11
- results = model.predict(image, imgsz=640, conf=0.2)
12
  annotator = Annotator(image)
13
  for r in results:
14
  boxes = r.boxes
 
8
 
9
  def predict(image):
10
  global model
11
+ results = model.predict(image, imgsz=1280, conf=0.2)
12
  annotator = Annotator(image)
13
  for r in results:
14
  boxes = r.boxes