Spaces:
Running
Running
Update app.py
Browse files
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:
|