GilbertClaus commited on
Commit
454b6b9
·
1 Parent(s): 403f98e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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
- filename, judul_video, video_info = fungsi(video_link, resolution)
30
- output_file_path = cut_video(filename, judul_video, start_time, end_time)
31
  session(video_info, video_file, cut)
32
  else:
33
  if st.button(f"Download {selected}"):
34
- video_info, video_file = fungsi(video_link, resolution)
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)