Spaces:
Sleeping
Sleeping
使用最新best
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from ultralytics import YOLO
|
|
5 |
import matplotlib.pyplot as plt
|
6 |
import io
|
7 |
from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
|
8 |
-
model = YOLO(r'
|
9 |
|
10 |
|
11 |
def predict(img, conf, iou):
|
|
|
5 |
import matplotlib.pyplot as plt
|
6 |
import io
|
7 |
from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
|
8 |
+
model = YOLO(r'best.pt')
|
9 |
|
10 |
|
11 |
def predict(img, conf, iou):
|