Omnibus commited on
Commit
8a19a99
·
1 Parent(s): 909b3bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -295,7 +295,7 @@ with gr.Blocks() as app:
295
  speed_btn.click(update_speed,[hid_box,clip_speed,hid_fps],[outp_vid,hid_box])
296
  gif_btn.click(make_gif,None,[gif_show,gif_file])
297
  trim_btn.click(trim_vid,[hid_box,start_f,end_f],[out_trim,in_vid,trim_count])
298
- outp_vid.change(load_video,outp_vid,[frame_count,fps,end_f]).then(check_load,[hid_box,start_f,end_f],[out_trim,in_vid,trim_count])
299
  frame_btn.click(capture_function,[out_trim],[frame_gal,frame_file,frame_stat])
300
  rem_btn.click(rem_bg,[out_trim],[rem_vid,frame_num,rem_bg_vid])
301
  go_btn.click(dl,[inp_url,outp_vid],[outp_vid,outp_file,out_trim,hid_box,hid_fps])
 
295
  speed_btn.click(update_speed,[hid_box,clip_speed,hid_fps],[outp_vid,hid_box])
296
  gif_btn.click(make_gif,None,[gif_show,gif_file])
297
  trim_btn.click(trim_vid,[hid_box,start_f,end_f],[out_trim,in_vid,trim_count])
298
+ outp_vid.change(load_video,outp_vid,[frame_count,fps,end_f]).then(check_load,[inp_url,outp_vid,hid_box,start_f,end_f],[out_trim,in_vid,trim_count])
299
  frame_btn.click(capture_function,[out_trim],[frame_gal,frame_file,frame_stat])
300
  rem_btn.click(rem_bg,[out_trim],[rem_vid,frame_num,rem_bg_vid])
301
  go_btn.click(dl,[inp_url,outp_vid],[outp_vid,outp_file,out_trim,hid_box,hid_fps])