Spaces:
Runtime error
Runtime error
Diego Fernandez
commited on
Commit
•
31aaaec
1
Parent(s):
00738ec
chore: change yolo file name
Browse files- app.py +1 -9
- custom_models/__init__.py +1 -1
- custom_models/{Yolo.py → yolo.py} +0 -0
app.py
CHANGED
@@ -14,7 +14,7 @@ features = gr.CheckboxGroup(
|
|
14 |
choices=["Track camera movement", "Draw objects paths"],
|
15 |
value=["Track camera movement", "Draw objects paths"],
|
16 |
label="Features",
|
17 |
-
type="index"
|
18 |
)
|
19 |
|
20 |
cb_path_draw = gr.Checkbox(value=True, label="Draw objects paths")
|
@@ -25,14 +25,6 @@ dd_track_points = gr.Dropdown(
|
|
25 |
|
26 |
slide_threshold = gr.Slider(minimum=0, maximum=1, value=0.25, label="Model confidence threshold")
|
27 |
|
28 |
-
# examples_folder = "examples"
|
29 |
-
# examples_list = []
|
30 |
-
|
31 |
-
# if os.path.isdir(examples_folder):
|
32 |
-
# for file in os.listdir(examples_folder):
|
33 |
-
# path = examples_folder + "/" + file
|
34 |
-
# examples_list.append([path])
|
35 |
-
|
36 |
output_component = "playablevideo"
|
37 |
|
38 |
iface = gr.Interface(
|
|
|
14 |
choices=["Track camera movement", "Draw objects paths"],
|
15 |
value=["Track camera movement", "Draw objects paths"],
|
16 |
label="Features",
|
17 |
+
type="index",
|
18 |
)
|
19 |
|
20 |
cb_path_draw = gr.Checkbox(value=True, label="Draw objects paths")
|
|
|
25 |
|
26 |
slide_threshold = gr.Slider(minimum=0, maximum=1, value=0.25, label="Model confidence threshold")
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
output_component = "playablevideo"
|
29 |
|
30 |
iface = gr.Interface(
|
custom_models/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1 |
-
from .
|
|
|
1 |
+
from .yolo import YOLO, yolo_detections_to_norfair_detections
|
custom_models/{Yolo.py → yolo.py}
RENAMED
File without changes
|