fffiloni commited on
Commit
84d1725
1 Parent(s): b310045

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,13 +12,13 @@ from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip
12
  # —————————————————————————————————————————————————
13
 
14
  title = "Scene Edit Detection"
15
- description = "Gradio demo of PyScene scenedetect, to automatically find every shots in a video sequence, then save each shots as a splitted mp4 video chunk to download"
16
 
17
  # —————————————————————————————————————————————————
18
 
19
  # SET INPUTS
20
  video_input = gr.Video(source="upload", format="mp4", label="Video Sequence", mirror_webcam=False)
21
- threshold = gr.Slider(label="Threshold pixel comparaison: if exceeded, triggers a scene cut", minimum=5.0, maximum=50.0, value=27.0)
22
 
23
  # —————————————————————————————————————————————————
24
 
 
12
  # —————————————————————————————————————————————————
13
 
14
  title = "Scene Edit Detection"
15
+ description = "Gradio demo of PyScene scenedetect, to automatically find every shots in a video sequence, give you timecode in/out for each shot, save each shot as a splitted mp4 video chunk for you to download, then display a thumbnail for each shot as a gallery output"
16
 
17
  # —————————————————————————————————————————————————
18
 
19
  # SET INPUTS
20
  video_input = gr.Video(source="upload", format="mp4", label="Video Sequence", mirror_webcam=False)
21
+ 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)
22
 
23
  # —————————————————————————————————————————————————
24