zliang commited on
Commit
f97fcb1
·
verified ·
1 Parent(s): a49fda4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import fitz # PyMuPDF
5
  import spaces
6
 
7
  # Load the trained model with FP16 precision
8
- model = YOLO("best.pt").half()
9
 
10
  # Define the class indices for figures and tables
11
  figure_class_index = 3 # class index for figures
 
5
  import spaces
6
 
7
  # Load the trained model with FP16 precision
8
+ model = YOLO("best.pt")
9
 
10
  # Define the class indices for figures and tables
11
  figure_class_index = 3 # class index for figures