Spaces:
Runtime error
Runtime error
Commit
·
a9acc74
1
Parent(s):
3cdbcef
Update app.py
Browse files
app.py
CHANGED
@@ -36,14 +36,14 @@ for i, url in enumerate(file_urls):
|
|
36 |
file_urls[i],
|
37 |
f"video.mp4"
|
38 |
)
|
39 |
-
else:
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
|
45 |
model = YOLO('foduucom/stockmarket-pattern-detection-yolov8')
|
46 |
-
path = [['
|
47 |
video_path = [['video.mp4']]
|
48 |
|
49 |
def show_preds_image(image_path):
|
|
|
36 |
file_urls[i],
|
37 |
f"video.mp4"
|
38 |
)
|
39 |
+
# else:
|
40 |
+
# download_file(
|
41 |
+
# file_urls[i],
|
42 |
+
# f"image_{i}.jpg"
|
43 |
+
# )
|
44 |
|
45 |
model = YOLO('foduucom/stockmarket-pattern-detection-yolov8')
|
46 |
+
path = [['test/test1.jpg'], ['test/test2.jpg']]
|
47 |
video_path = [['video.mp4']]
|
48 |
|
49 |
def show_preds_image(image_path):
|