update
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import tempfile
|
|
6 |
from ultralytics import YOLO
|
7 |
|
8 |
# 加载YOLOv8模型
|
9 |
-
model_path = "
|
10 |
model = YOLO(model_path)
|
11 |
|
12 |
def detect_and_visualize(image):
|
|
|
6 |
from ultralytics import YOLO
|
7 |
|
8 |
# 加载YOLOv8模型
|
9 |
+
model_path = "latex2layout_object_detection_yolov8.pt"
|
10 |
model = YOLO(model_path)
|
11 |
|
12 |
def detect_and_visualize(image):
|