Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -42,13 +42,13 @@ def load_video(vid):
|
|
42 |
print (msc)
|
43 |
capture.release()
|
44 |
vid_t = round(msc)
|
45 |
-
if vid_t <=59:
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
if vid_t >59 and vid_t <=359:
|
50 |
|
51 |
-
|
52 |
hours = int(vid_t/360)
|
53 |
minutes = int(vid_t/60)-(hours*360)
|
54 |
seconds = vid_t-(minutes*60)-(hours*360)
|
|
|
42 |
print (msc)
|
43 |
capture.release()
|
44 |
vid_t = round(msc)
|
45 |
+
#if vid_t <=59:
|
46 |
+
# seconds = vid_t
|
47 |
+
# minutes = "00"
|
48 |
+
# hours = "00"
|
49 |
+
#if vid_t >59 and vid_t <=359:
|
50 |
|
51 |
+
# if vid_t >59 and vid_t<=360:minutes = (vid_t/60)
|
52 |
hours = int(vid_t/360)
|
53 |
minutes = int(vid_t/60)-(hours*360)
|
54 |
seconds = vid_t-(minutes*60)-(hours*360)
|