Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -165,6 +165,6 @@ with gr.Blocks() as demo:
|
|
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, outputs=[video_input, threshold, json_output, file_output, gallery_output])
|
169 |
if __name__ == "__main__":
|
170 |
demo.launch(debug=True)
|
|
|
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])
|
169 |
if __name__ == "__main__":
|
170 |
demo.launch(debug=True)
|