Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -126,7 +126,7 @@ def check_tesseract():
|
|
126 |
return False
|
127 |
|
128 |
# Load YOLO model (ensure best.pt exists in the working directory)
|
129 |
-
YOLO_MODEL_PATH = "best.pt"
|
130 |
model = YOLO(YOLO_MODEL_PATH, task='detect').to("cpu")
|
131 |
|
132 |
def merge_boxes_into_lines(boxes, y_threshold=10):
|
|
|
126 |
return False
|
127 |
|
128 |
# Load YOLO model (ensure best.pt exists in the working directory)
|
129 |
+
YOLO_MODEL_PATH = "best (3).pt"
|
130 |
model = YOLO(YOLO_MODEL_PATH, task='detect').to("cpu")
|
131 |
|
132 |
def merge_boxes_into_lines(boxes, y_threshold=10):
|