“JYH96” commited on
Commit
5a63800
·
1 Parent(s): 52d8fc4
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ model = YOLO(model_path)
8
 
9
 
10
  def greet(img):
11
- output = YOLO(img)
12
  results = Detections.from_ultralytics(output[0])
13
  print(results)
14
  return results
 
8
 
9
 
10
  def greet(img):
11
+ output = model(img)
12
  results = Detections.from_ultralytics(output[0])
13
  print(results)
14
  return results