Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -262,6 +262,7 @@ class IntrusionDetection:
|
|
262 |
self.max_intrusion_time = max_intrusion_time
|
263 |
self.iou_threshold = iou_threshold
|
264 |
self.conf_threshold = conf_threshold
|
|
|
265 |
|
266 |
def detect_intrusion(self, video_path):
|
267 |
try:
|
|
|
262 |
self.max_intrusion_time = max_intrusion_time
|
263 |
self.iou_threshold = iou_threshold
|
264 |
self.conf_threshold = conf_threshold
|
265 |
+
@spaces.GPU
|
266 |
|
267 |
def detect_intrusion(self, video_path):
|
268 |
try:
|