zliang commited on
Commit
fdedf54
1 Parent(s): b296597

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
8
- model_path = 'runs/detect/train7/weights/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
+ 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