Spaces:
Runtime error
Runtime error
Commit
·
6df3994
1
Parent(s):
b032045
Update app.py
Browse files
app.py
CHANGED
@@ -3,9 +3,9 @@ import torch
|
|
3 |
from ultralyticsplus import YOLO, render_result
|
4 |
|
5 |
|
6 |
-
torch.hub.download_url_to_file("
|
7 |
-
torch.hub.download_url_to_file("
|
8 |
-
torch.hub.download_url_to_file("
|
9 |
|
10 |
def yoloV8_func(image: gr.inputs.Image = None,
|
11 |
image_size: gr.inputs.Slider = 640,
|
|
|
3 |
from ultralyticsplus import YOLO, render_result
|
4 |
|
5 |
|
6 |
+
torch.hub.download_url_to_file("img1.jpg", 'one.jpg')
|
7 |
+
torch.hub.download_url_to_file("img2.jpg", 'two.jpg')
|
8 |
+
torch.hub.download_url_to_file("img3.jpg", 'three.jpg')
|
9 |
|
10 |
def yoloV8_func(image: gr.inputs.Image = None,
|
11 |
image_size: gr.inputs.Slider = 640,
|