fffiloni commited on
Commit
f917c79
1 Parent(s): 767be14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -18,8 +18,9 @@ def find_scenes(video_path, threshold=27.0):
18
  #start_sec = int(scene_list[0][0]['frame_num'])
19
  #timecode, frame, fps = scene_list[1]
20
  print(scene_list)
21
- shot = scene_list[0][0].get_frames()
22
- print(shot)
 
23
  return scene_list
24
 
25
  video_input=gr.Video(source="upload", format="mp4", mirror_webcam="False");
 
18
  #start_sec = int(scene_list[0][0]['frame_num'])
19
  #timecode, frame, fps = scene_list[1]
20
  print(scene_list)
21
+ shot_in = scene_list[0][0].get_frames()
22
+ shot_out = scene_list[0][1].get_frames()
23
+ print(shot_in, shot_out)
24
  return scene_list
25
 
26
  video_input=gr.Video(source="upload", format="mp4", mirror_webcam="False");