Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,9 +6,9 @@ from ultralytics import YOLO
|
|
6 |
|
7 |
# Define file URLs for images and videos
|
8 |
file_urls = [
|
9 |
-
'https://drive.google.com/file/d/1rvuphnn3BV4NdILrQE72jU7fxA79SiYn/view
|
10 |
-
'https://drive.google.com/file/d/16gu9cLamGFrM5DRd1WJyk_6Xt9v0S7go/view
|
11 |
-
'https://drive.google.com/file/d/1UgZi54js65f5qGhNF3nGLZwIN5nrUek6/view
|
12 |
]
|
13 |
|
14 |
# Helper function to download files
|
@@ -73,7 +73,7 @@ interface_image = gr.Interface(
|
|
73 |
fn=show_preds_image,
|
74 |
inputs=inputs_image,
|
75 |
outputs=outputs_image,
|
76 |
-
title="
|
77 |
examples=image_examples,
|
78 |
)
|
79 |
|
|
|
6 |
|
7 |
# Define file URLs for images and videos
|
8 |
file_urls = [
|
9 |
+
'https://drive.google.com/file/d/1rvuphnn3BV4NdILrQE72jU7fxA79SiYn/view', # Image
|
10 |
+
'https://drive.google.com/file/d/16gu9cLamGFrM5DRd1WJyk_6Xt9v0S7go/view', # Image
|
11 |
+
'https://drive.google.com/file/d/1UgZi54js65f5qGhNF3nGLZwIN5nrUek6/view', # Video
|
12 |
]
|
13 |
|
14 |
# Helper function to download files
|
|
|
73 |
fn=show_preds_image,
|
74 |
inputs=inputs_image,
|
75 |
outputs=outputs_image,
|
76 |
+
title="Safety Head Detector - Image",
|
77 |
examples=image_examples,
|
78 |
)
|
79 |
|