zliang commited on
Commit
330da81
·
verified ·
1 Parent(s): 06826f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,7 +5,8 @@ import fitz # PyMuPDF
5
  import spaces
6
 
7
  # Load the trained model
8
- model_path = 'best.pt' # Replace with the path to your trained .pt file
 
9
  model = YOLO(model_path)
10
 
11
  # Define the class indices for figures and tables
 
5
  import spaces
6
 
7
  # Load the trained model
8
+
9
+ model_path = 'best.engine' # Replace with the path to your trained .pt file
10
  model = YOLO(model_path)
11
 
12
  # Define the class indices for figures and tables