zliang commited on
Commit
57d20a1
1 Parent(s): 7aaeeb7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,12 +2,12 @@ import gradio as gr
2
  import numpy as np
3
  import fitz # PyMuPDF
4
  import spaces
5
- from ultralytics import YOLO
6
 
7
  # Load the trained model
8
 
9
 
10
- model = YOLO("best.engine")
11
 
12
 
13
 
 
2
  import numpy as np
3
  import fitz # PyMuPDF
4
  import spaces
5
+ from ultralytics import YOLOv10
6
 
7
  # Load the trained model
8
 
9
 
10
+ model = YOLOv10("best.pt")
11
 
12
 
13