fffiloni commited on
Commit
6b03a4d
·
1 Parent(s): 006cb6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -288,6 +288,9 @@ with gr.Blocks(css=css) as demo:
288
  outputs=[video_res, share_group],
289
  cache_examples=True
290
  )
 
 
 
291
  video_path.change(fn=get_frame_count,
292
  inputs=[video_path],
293
  outputs=[video_length],
 
288
  outputs=[video_res, share_group],
289
  cache_examples=True
290
  )
291
+
292
+ share_button.click(None, [], [], _js=share_js)
293
+
294
  video_path.change(fn=get_frame_count,
295
  inputs=[video_path],
296
  outputs=[video_length],