Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,6 +7,7 @@ import torch
|
|
7 |
import numpy as np
|
8 |
from ultralytics import YOLO
|
9 |
|
|
|
10 |
model = torch.hub.load('ultralytics/yolov5', 'yolov5x', pretrained=True)
|
11 |
path = [['image_0.jpg'], ['image_1.jpg']]
|
12 |
video_path = [['TresPass_Detection_1.mp4']]
|
|
|
7 |
import numpy as np
|
8 |
from ultralytics import YOLO
|
9 |
|
10 |
+
|
11 |
model = torch.hub.load('ultralytics/yolov5', 'yolov5x', pretrained=True)
|
12 |
path = [['image_0.jpg'], ['image_1.jpg']]
|
13 |
video_path = [['TresPass_Detection_1.mp4']]
|