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 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
|
|
|
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
|