Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import cv2
|
|
5 |
from ultralytics import YOLO
|
6 |
|
7 |
model = YOLO('best.pt')
|
8 |
-
path = [['pothole_screenshot.png']]
|
9 |
|
10 |
def show_preds(image_path):
|
11 |
image = cv2.imread(image_path)
|
|
|
5 |
from ultralytics import YOLO
|
6 |
|
7 |
model = YOLO('best.pt')
|
8 |
+
path = [['pothole_example.jpg'], ['pothole_screenshot.png']]
|
9 |
|
10 |
def show_preds(image_path):
|
11 |
image = cv2.imread(image_path)
|