aidas-79 commited on
Commit
972b1f8
·
verified ·
1 Parent(s): deea063

Update video_detection.py

Browse files
Files changed (1) hide show
  1. video_detection.py +1 -1
video_detection.py CHANGED
@@ -86,7 +86,7 @@ def video_detection(cap):
86
 
87
  batch = []
88
  segment_file.release()
89
- yield name
90
  end = time.time()
91
  print("time taken for processing boxes", end - start)
92
  name = f"output_{uuid.uuid4()}.mp4"
 
86
 
87
  batch = []
88
  segment_file.release()
89
+ yield None, name
90
  end = time.time()
91
  print("time taken for processing boxes", end - start)
92
  name = f"output_{uuid.uuid4()}.mp4"