Omnibus commited on
Commit
cd796aa
1 Parent(s): f85c515

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -21,7 +21,6 @@ def process_vid(file):
21
  new_video_in = str(file)
22
  capture = cv2.VideoCapture(new_video_in)
23
  frame_count = int(capture.get(cv2.CAP_PROP_FRAME_COUNT))
24
- capture.release()
25
  rev_img_searcher = ReverseImageSearcher()
26
  try:
27
  for i in frame_count-1:
 
21
  new_video_in = str(file)
22
  capture = cv2.VideoCapture(new_video_in)
23
  frame_count = int(capture.get(cv2.CAP_PROP_FRAME_COUNT))
 
24
  rev_img_searcher = ReverseImageSearcher()
25
  try:
26
  for i in frame_count-1: