Omnibus commited on
Commit
24ad4e3
·
1 Parent(s): 6e6ae65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -254,7 +254,7 @@ with gr.Blocks() as app:
254
  return inp
255
  #outp_vid.change(echo_fn,outp_vid,[out_trim])
256
  speed_btn.click(update_speed,[hid_box,clip_speed,hid_fps],[outp_vid,hid_box])
257
- gif_btn.click(make_gif,hid_box,[gif_show,gif_file])
258
  trim_btn.click(trim_vid,[hid_box,start_f,end_f],[out_trim,in_vid,trim_count])
259
  outp_vid.change(load_video,outp_vid,[frame_count,fps,end_f]).then(trim_vid,[hid_box,start_f,end_f],[out_trim,in_vid,trim_count])
260
  frame_btn.click(capture_function,[out_trim],[frame_gal,frame_file,frame_stat])
 
254
  return inp
255
  #outp_vid.change(echo_fn,outp_vid,[out_trim])
256
  speed_btn.click(update_speed,[hid_box,clip_speed,hid_fps],[outp_vid,hid_box])
257
+ gif_btn.click(make_gif,None,[gif_show,gif_file])
258
  trim_btn.click(trim_vid,[hid_box,start_f,end_f],[out_trim,in_vid,trim_count])
259
  outp_vid.change(load_video,outp_vid,[frame_count,fps,end_f]).then(trim_vid,[hid_box,start_f,end_f],[out_trim,in_vid,trim_count])
260
  frame_btn.click(capture_function,[out_trim],[frame_gal,frame_file,frame_stat])