Spaces:
Runtime error
Runtime error
Diego Fernandez
commited on
Commit
·
4d08d2b
1
Parent(s):
3647577
fix: move to cpu
Browse files- inference.py +1 -1
inference.py
CHANGED
@@ -46,7 +46,7 @@ def inference(
|
|
46 |
coord_transformations = None
|
47 |
paths_drawer = None
|
48 |
track_points = Style[track_points].value
|
49 |
-
model = YOLO(ModelsPath[model].value
|
50 |
video = Video(input_path=input_video, output_path="tmp")
|
51 |
|
52 |
if motion_estimation:
|
|
|
46 |
coord_transformations = None
|
47 |
paths_drawer = None
|
48 |
track_points = Style[track_points].value
|
49 |
+
model = YOLO(ModelsPath[model].value)
|
50 |
video = Video(input_path=input_video, output_path="tmp")
|
51 |
|
52 |
if motion_estimation:
|