zliang commited on
Commit
c82c816
·
verified ·
1 Parent(s): be54483

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,13 +6,13 @@ import os
6
 
7
  os.system("pip install -q git+https://github.com/THU-MIG/yolov10.git")
8
 
9
- from ultralytics import YOLO
10
 
11
  # Load the trained model
12
 
13
 
14
 
15
- model = YOLO("best.pt")
16
 
17
 
18
  # Define the class indices for figures and tables
 
6
 
7
  os.system("pip install -q git+https://github.com/THU-MIG/yolov10.git")
8
 
9
+ from ultralytics import YOLOv10
10
 
11
  # Load the trained model
12
 
13
 
14
 
15
+ model = YOLOv10("best.pt")
16
 
17
 
18
  # Define the class indices for figures and tables