Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ from ultralytics import YOLO
|
|
3 |
import numpy as np
|
4 |
import fitz # PyMuPDF
|
5 |
import spaces
|
|
|
6 |
# Load the trained model
|
7 |
model_path = 'best.pt' # Replace with the path to your trained .pt file
|
8 |
model = YOLO(model_path)
|
|
|
3 |
import numpy as np
|
4 |
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)
|