hamhanry commited on
Commit
bb69e8f
·
1 Parent(s): 0e5e8f0

fix: wrong model_id variable for yolov10s

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import cv2
7
  def inference(image, video, model_id, image_size, conf_threshold):
8
  if model_id == "yolov10n-obb":
9
  model = YOLO("pretrained/yolov10n-obb.pt")
10
- elif model_id == "yolov10s-obb":
11
  model = YOLO("pretrained/yolov10s-640-obb.pt")
12
 
13
  if image:
 
7
  def inference(image, video, model_id, image_size, conf_threshold):
8
  if model_id == "yolov10n-obb":
9
  model = YOLO("pretrained/yolov10n-obb.pt")
10
+ elif model_id == "yolov10s-640-obb":
11
  model = YOLO("pretrained/yolov10s-640-obb.pt")
12
 
13
  if image: