Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,6 +12,6 @@ def find_scenes(video_path, threshold=27.0):
|
|
12 |
# for each scene that was found.
|
13 |
return scene_manager.get_scene_list()
|
14 |
|
15 |
-
video_input=gr.Video(source="upload", format="mp4");
|
16 |
|
17 |
gr.Interface(fn=find_scenes, inputs=video_input, outputs="json").launch()
|
|
|
12 |
# for each scene that was found.
|
13 |
return scene_manager.get_scene_list()
|
14 |
|
15 |
+
video_input=gr.Video(source="upload", format="mp4", mirror_webcam="False");
|
16 |
|
17 |
gr.Interface(fn=find_scenes, inputs=video_input, outputs="json").launch()
|