Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -162,7 +162,7 @@ with gr.Blocks() as demo:
|
|
162 |
with gr.Column():
|
163 |
json_output = gr.JSON(label="Shots detected")
|
164 |
file_output = gr.File(label="Downloadable Shots")
|
165 |
-
gallery_output = gr.Gallery(label="Still Images from each shot")
|
166 |
|
167 |
run_button.click(fn=find_scenes, inputs=[video_input, threshold], outputs=[json_output, file_output, gallery_output])
|
168 |
clear_button.click(fn=clear_app, inputs = None, outputs=[video_input, threshold, json_output, file_output, gallery_output])
|
|
|
162 |
with gr.Column():
|
163 |
json_output = gr.JSON(label="Shots detected")
|
164 |
file_output = gr.File(label="Downloadable Shots")
|
165 |
+
gallery_output = gr.Gallery(label="Still Images from each shot", columns = 3)
|
166 |
|
167 |
run_button.click(fn=find_scenes, inputs=[video_input, threshold], outputs=[json_output, file_output, gallery_output])
|
168 |
clear_button.click(fn=clear_app, inputs = None, outputs=[video_input, threshold, json_output, file_output, gallery_output])
|