Spaces:
Runtime error
Runtime error
Added dataset
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def yolov8_predict_func(image : gr.Image = None, # uploading an image as input
|
|
11 |
|
12 |
# Loading the YOLOv8 model
|
13 |
|
14 |
-
model_path = "
|
15 |
|
16 |
model = YOLO(model_path)
|
17 |
|
@@ -51,7 +51,7 @@ outputs = gr.Image(type = "filepath", label = "Output Image")
|
|
51 |
title = "VPS"
|
52 |
|
53 |
examples = [
|
54 |
-
["
|
55 |
]
|
56 |
|
57 |
yolo_app = gr.Interface(
|
|
|
11 |
|
12 |
# Loading the YOLOv8 model
|
13 |
|
14 |
+
model_path = "best.pt"
|
15 |
|
16 |
model = YOLO(model_path)
|
17 |
|
|
|
51 |
title = "VPS"
|
52 |
|
53 |
examples = [
|
54 |
+
["ps2.0/testing/indoor-parking lot/007.jpg"]
|
55 |
]
|
56 |
|
57 |
yolo_app = gr.Interface(
|