mkhodary101 commited on
Commit
3be8ba0
·
verified ·
1 Parent(s): 1237fa8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -455,7 +455,7 @@ class IntrusionDetectionEn:
455
  return True
456
  return False
457
 
458
- @gr.GPU
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)