Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ article = "<p style='text-align: center'><a href='http://scenedetect.com/en/late
|
|
| 18 |
# —————————————————————————————————————————————————
|
| 19 |
|
| 20 |
# SET INPUTS
|
| 21 |
-
video_input = gr.Video(
|
| 22 |
threshold = gr.Slider(label="Threshold pixel comparison: if exceeded, triggers a scene cut. Default: 27.0", minimum=15.0, maximum=40.0, value=27.0)
|
| 23 |
|
| 24 |
# —————————————————————————————————————————————————
|
|
|
|
| 18 |
# —————————————————————————————————————————————————
|
| 19 |
|
| 20 |
# SET INPUTS
|
| 21 |
+
video_input = gr.Video(sources="upload", format="mp4", label="Video Sequence", mirror_webcam=False)
|
| 22 |
threshold = gr.Slider(label="Threshold pixel comparison: if exceeded, triggers a scene cut. Default: 27.0", minimum=15.0, maximum=40.0, value=27.0)
|
| 23 |
|
| 24 |
# —————————————————————————————————————————————————
|