DualityAI-RebekahBogdanoff
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -5,8 +5,8 @@ import os
|
|
5 |
|
6 |
from ultralytics import YOLO
|
7 |
|
8 |
-
path = ['./data/0068.jpg']
|
9 |
-
path0 = [
|
10 |
|
11 |
model_path = './best.pt'
|
12 |
model = YOLO(model_path)
|
@@ -24,7 +24,7 @@ iface = gr.Interface(
|
|
24 |
outputs=gr.Image(),
|
25 |
title="Cheerios detector",
|
26 |
description = "test description here with a lot of words to see how it looks irl... i wonder what size this will be",
|
27 |
-
examples=
|
28 |
)
|
29 |
|
30 |
# Launch the interface
|
|
|
5 |
|
6 |
from ultralytics import YOLO
|
7 |
|
8 |
+
path = ['./data/0068.jpg', './data/0210.jpg']
|
9 |
+
path0 = []
|
10 |
|
11 |
model_path = './best.pt'
|
12 |
model = YOLO(model_path)
|
|
|
24 |
outputs=gr.Image(),
|
25 |
title="Cheerios detector",
|
26 |
description = "test description here with a lot of words to see how it looks irl... i wonder what size this will be",
|
27 |
+
examples= path,
|
28 |
)
|
29 |
|
30 |
# Launch the interface
|