Spaces:
Paused
Paused
Commit ·
454b6b9
1
Parent(s): 403f98e
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,10 +26,10 @@ if selected:
|
|
| 26 |
end_time = st.text_input("End Time", value='00:09:31.000')
|
| 27 |
|
| 28 |
if st.button(f"Download and Cut {selected}"):
|
| 29 |
-
|
| 30 |
-
|
| 31 |
session(video_info, video_file, cut)
|
| 32 |
else:
|
| 33 |
if st.button(f"Download {selected}"):
|
| 34 |
-
|
| 35 |
session(video_info, video_file, cut)
|
|
|
|
| 26 |
end_time = st.text_input("End Time", value='00:09:31.000')
|
| 27 |
|
| 28 |
if st.button(f"Download and Cut {selected}"):
|
| 29 |
+
video_file, judul_video, video_info = fungsi(video_link, resolution)
|
| 30 |
+
video_file = cut_video(video_file, judul_video, start_time, end_time)
|
| 31 |
session(video_info, video_file, cut)
|
| 32 |
else:
|
| 33 |
if st.button(f"Download {selected}"):
|
| 34 |
+
video_file, judul_video, video_info = fungsi(video_link, resolution)
|
| 35 |
session(video_info, video_file, cut)
|