Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ 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]
|
22 |
print(shot)
|
23 |
return scene_list
|
24 |
|
|
|
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 |
|