DualityAI-RebekahBogdanoff commited on
Commit
eac7374
·
verified ·
1 Parent(s): 019ad4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -5,8 +5,8 @@ import os
5
 
6
  from ultralytics import YOLO
7
 
8
- path = ['./data/0068.jpg']
9
- path0 = ['./data/0210.jpg']
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=path0, path,
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