Omnibus commited on
Commit
1f33ba5
·
1 Parent(s): 1161227

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -226,7 +226,7 @@ with gr.Blocks() as app:
226
  trim_btn.click(trim_vid,[outp_vid,start_f,end_f],out_trim)
227
  outp_vid.change(load_video,outp_vid,[frame_count,fps]).then(echo_fn,outp_vid,[out_trim])
228
  frame_btn.click(capture_function,[out_trim],[frame_gal,frame_file])
229
- rem_btn.click(rem_bg,[outp_trim],[rem_vid,frame_num])
230
  go_btn.click(dl,inp_url,[outp_vid,in_vid,outp_file,out_trim])
231
  app.load(fn=predict, inputs=[text_input,url_params], outputs=[text_output,text_input],_js=load_js)
232
  app.launch()
 
226
  trim_btn.click(trim_vid,[outp_vid,start_f,end_f],out_trim)
227
  outp_vid.change(load_video,outp_vid,[frame_count,fps]).then(echo_fn,outp_vid,[out_trim])
228
  frame_btn.click(capture_function,[out_trim],[frame_gal,frame_file])
229
+ rem_btn.click(rem_bg,[out_trim],[rem_vid,frame_num])
230
  go_btn.click(dl,inp_url,[outp_vid,in_vid,outp_file,out_trim])
231
  app.load(fn=predict, inputs=[text_input,url_params], outputs=[text_output,text_input],_js=load_js)
232
  app.launch()