Spaces:
Paused
Paused
added mp4 video for detection
Browse files
app.py
CHANGED
@@ -6,8 +6,9 @@ import os
|
|
6 |
from ultralytics import YOLO
|
7 |
|
8 |
file_urls = [
|
9 |
-
'https://
|
10 |
-
'https://
|
|
|
11 |
]
|
12 |
|
13 |
def download_file(url, save_name):
|
|
|
6 |
from ultralytics import YOLO
|
7 |
|
8 |
file_urls = [
|
9 |
+
'https://huggingface.co/spaces/iamsuman/ripe-and-unripe-tomatoes-detection/resolve/main/samples/riped_tomato_93.jpeg?download=true',
|
10 |
+
'https://huggingface.co/spaces/iamsuman/ripe-and-unripe-tomatoes-detection/resolve/main/samples/unriped_tomato_18.jpeg?download=true',
|
11 |
+
'https://huggingface.co/spaces/iamsuman/ripe-and-unripe-tomatoes-detection/resolve/main/samples/tomatoes.mp4?download=true',
|
12 |
]
|
13 |
|
14 |
def download_file(url, save_name):
|
{sample_images β samples}/riped_tomato_93.jpeg
RENAMED
File without changes
|
{sample_images β samples}/riped_tomato_94.jpeg
RENAMED
File without changes
|
{sample_images β samples}/unriped_tomato_1.jpeg
RENAMED
File without changes
|
{sample_images β samples}/unriped_tomato_18.jpeg
RENAMED
File without changes
|
{sample_images β samples}/unriped_tomato_7.jpeg
RENAMED
File without changes
|