mu-ct commited on
Commit
fc541da
1 Parent(s): ef765c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)