arjunanand13 commited on
Commit
82dd291
1 Parent(s): 6d24e78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -235,7 +235,7 @@ class VideoClassifier:
235
  start_time_caption = time.time()
236
  captions = ""
237
 
238
- if checkbox==['Image Captions']:
239
  video = cv2.VideoCapture(video_input)
240
  length = int(video.get(cv2.CAP_PROP_FRAME_COUNT))
241
  no_of_frame = int(self.no_of_frames)
 
235
  start_time_caption = time.time()
236
  captions = ""
237
 
238
+ if checkbox==["Image Captions and Audio for Classification"]:
239
  video = cv2.VideoCapture(video_input)
240
  length = int(video.get(cv2.CAP_PROP_FRAME_COUNT))
241
  no_of_frame = int(self.no_of_frames)