Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import fitz # PyMuPDF
|
|
5 |
import spaces
|
6 |
|
7 |
# Load the trained model
|
8 |
-
model_path = '
|
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
|