Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ for i, url in enumerate(file_urls):
|
|
23 |
save_name = "video.mp4" if 'mp4' in url else f"image_{i}.jpg"
|
24 |
download_file(url, save_name)
|
25 |
|
26 |
-
model = YOLO('
|
27 |
path = [['image_0.jpg'], ['image_1.jpg']]
|
28 |
video_path = [['video.mp4']]
|
29 |
|
|
|
23 |
save_name = "video.mp4" if 'mp4' in url else f"image_{i}.jpg"
|
24 |
download_file(url, save_name)
|
25 |
|
26 |
+
model = YOLO('yolov8n_epoch20_best.pt')
|
27 |
path = [['image_0.jpg'], ['image_1.jpg']]
|
28 |
video_path = [['video.mp4']]
|
29 |
|