Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip
|
|
12 |
# —————————————————————————————————————————————————
|
13 |
|
14 |
title = "Scene Edit Detection"
|
15 |
-
description = "Gradio demo of PySceneDetect. <br />Automatically find every shots in a video sequence
|
16 |
article = "<a href='http://scenedetect.com/en/latest/' target='_blank'>PySceneDetect website</a> | <a href='https://github.com/Breakthrough/PySceneDetect' target='_blank'>Github Repo</a>"
|
17 |
|
18 |
# —————————————————————————————————————————————————
|
@@ -151,4 +151,4 @@ outputs = [gr.JSON(label="Shots detected"), gr.File(label="Downloadable Shots"),
|
|
151 |
|
152 |
# —————————————————————————————————————————————————
|
153 |
print('Hello Sylvain')
|
154 |
-
gr.Interface(fn=find_scenes, inputs=[video_input, threshold], outputs=outputs, title=title, description=description).launch()
|
|
|
12 |
# —————————————————————————————————————————————————
|
13 |
|
14 |
title = "Scene Edit Detection"
|
15 |
+
description = "<p style='text-align: center'>Gradio demo of PySceneDetect. <br />Automatically find every shots in a video sequence</p><br /> 1. gives you timecode in/out for each shot. <br /> 2. saves each shot as a splitted mp4 video chunk for you to download. <br />3. diplays a thumbnail for each shot as a gallery output"
|
16 |
article = "<a href='http://scenedetect.com/en/latest/' target='_blank'>PySceneDetect website</a> | <a href='https://github.com/Breakthrough/PySceneDetect' target='_blank'>Github Repo</a>"
|
17 |
|
18 |
# —————————————————————————————————————————————————
|
|
|
151 |
|
152 |
# —————————————————————————————————————————————————
|
153 |
print('Hello Sylvain')
|
154 |
+
gr.Interface(fn=find_scenes, inputs=[video_input, threshold], outputs=outputs, title=title, description=description, article=article).launch()
|