Spaces:
Sleeping
Sleeping
stphtan94117
commited on
Commit
·
e482b27
1
Parent(s):
1f182c3
Update app.py
Browse files
app.py
CHANGED
@@ -6,18 +6,18 @@ from ultralytics import YOLO
|
|
6 |
|
7 |
|
8 |
# Images
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
|
22 |
# Model
|
23 |
# model = torch.hub.load('ultralytics/yolov5', 'yolov5s') # force_reload=True to update
|
|
|
6 |
|
7 |
|
8 |
# Images
|
9 |
+
torch.hub.download_url_to_file(
|
10 |
+
'https://i.imgur.com/4GmZXID.jpg', '1.jpg')
|
11 |
+
torch.hub.download_url_to_file(
|
12 |
+
'https://i.imgur.com/ktIGRvs.jpg', '2.jpg')
|
13 |
+
torch.hub.download_url_to_file(
|
14 |
+
'https://i.imgur.com/fSEsXoE.jpg', '3.jpg')
|
15 |
+
torch.hub.download_url_to_file(
|
16 |
+
'https://i.imgur.com/lsVJRzd.jpg', '4.jpg')
|
17 |
+
torch.hub.download_url_to_file(
|
18 |
+
'https://i.imgur.com/1OFmJd1.jpg', '5.jpg')
|
19 |
+
torch.hub.download_url_to_file(
|
20 |
+
'https://i.imgur.com/GhfAWMJ.jpg', '6.jpg')
|
21 |
|
22 |
# Model
|
23 |
# model = torch.hub.load('ultralytics/yolov5', 'yolov5s') # force_reload=True to update
|