Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,9 +16,9 @@ def trim_vid(vid,start_time,end_time):
|
|
16 |
start_hr=int(start_time.split(":",2)[0])*360
|
17 |
start_min=int(start_time.split(":",2)[1])*60
|
18 |
start_sec=int(start_time.split(":",2)[2])
|
19 |
-
end_hr=int(
|
20 |
-
end_min=int(
|
21 |
-
end_sec=int(
|
22 |
start=start_hr+start_min+start_sec
|
23 |
end=end_hr+end_min+end_sec
|
24 |
#vid = f"{uid}-tmp.mp4"
|
|
|
16 |
start_hr=int(start_time.split(":",2)[0])*360
|
17 |
start_min=int(start_time.split(":",2)[1])*60
|
18 |
start_sec=int(start_time.split(":",2)[2])
|
19 |
+
end_hr=int(end_time.split(":",2)[0])*360
|
20 |
+
end_min=int(end_time.split(":",2)[1])*60
|
21 |
+
end_sec=int(end_time.split(":",2)[2])
|
22 |
start=start_hr+start_min+start_sec
|
23 |
end=end_hr+end_min+end_sec
|
24 |
#vid = f"{uid}-tmp.mp4"
|