Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -455,7 +455,7 @@ class IntrusionDetectionEn:
|
|
455 |
return True
|
456 |
return False
|
457 |
|
458 |
-
@
|
459 |
def intrusion_detect_en(self, video_path):
|
460 |
try:
|
461 |
cap = cv2.VideoCapture(video_path)
|
|
|
455 |
return True
|
456 |
return False
|
457 |
|
458 |
+
@spaces.GPU
|
459 |
def intrusion_detect_en(self, video_path):
|
460 |
try:
|
461 |
cap = cv2.VideoCapture(video_path)
|