zliang commited on
Commit
132bd3c
·
verified ·
1 Parent(s): 048dd59

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -4,15 +4,12 @@ import numpy as np
4
  import fitz # PyMuPDF
5
  import spaces
6
 
7
- import tensorrt as trt
8
-
9
- print(trt.__version__)
10
 
11
  # Load the trained model
12
 
13
 
14
 
15
- model = YOLO("best.engine")
16
 
17
 
18
  # Define the class indices for figures and tables
 
4
  import fitz # PyMuPDF
5
  import spaces
6
 
 
 
 
7
 
8
  # Load the trained model
9
 
10
 
11
 
12
+ model = YOLO("best.pt")
13
 
14
 
15
  # Define the class indices for figures and tables