Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import fitz # PyMuPDF
|
|
7 |
from PIL import Image
|
8 |
|
9 |
# Load the trained model
|
10 |
-
model_path = '
|
11 |
model = YOLO(model_path)
|
12 |
|
13 |
# Define the class indices for figures and tables
|
|
|
7 |
from PIL import Image
|
8 |
|
9 |
# Load the trained model
|
10 |
+
model_path = 'best.pt' # Replace with the path to your trained .pt file
|
11 |
model = YOLO(model_path)
|
12 |
|
13 |
# Define the class indices for figures and tables
|