Omnibus commited on
Commit
fc3ac0d
1 Parent(s): eac0bb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def load_video(vid):
34
  frame_count = int(capture.get(cv2.CAP_PROP_FRAME_COUNT))
35
  msc = float(frame_count/fps)
36
  capture.release()
37
- vid_t = int(msc)
38
  hours = int(vid_t/360)
39
  minutes = int(vid_t/60)-(hours*360)
40
  seconds = vid_t-(minutes*60)-(hours*360)
 
34
  frame_count = int(capture.get(cv2.CAP_PROP_FRAME_COUNT))
35
  msc = float(frame_count/fps)
36
  capture.release()
37
+ vid_t = float(msc)
38
  hours = int(vid_t/360)
39
  minutes = int(vid_t/60)-(hours*360)
40
  seconds = vid_t-(minutes*60)-(hours*360)