Omnibus commited on
Commit
e4cd716
·
1 Parent(s): 8d5c6cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -151,8 +151,8 @@ with gr.Blocks() as app:
151
  text_output=gr.Textbox()
152
  url_params=gr.JSON()
153
  outp_vid.change(load_video,outp_vid,[frame_count,fps])
154
- frame_btn.click(capture_function,[outp_vid,frame_count],[frame_gal,frame_file])
155
- rem_btn.click(rem_bg,[outp_vid,frame_count],rem_vid)
156
  go_btn.click(dl,inp_url,[outp_vid,in_vid,outp_file])
157
  app.load(fn=predict, inputs=[text_input,url_params], outputs=[text_output,text_input],_js=load_js)
158
  app.launch()
 
151
  text_output=gr.Textbox()
152
  url_params=gr.JSON()
153
  outp_vid.change(load_video,outp_vid,[frame_count,fps])
154
+ frame_btn.click(capture_function,[outp_vid],[frame_gal,frame_file])
155
+ rem_btn.click(rem_bg,[outp_vid],rem_vid)
156
  go_btn.click(dl,inp_url,[outp_vid,in_vid,outp_file])
157
  app.load(fn=predict, inputs=[text_input,url_params], outputs=[text_output,text_input],_js=load_js)
158
  app.launch()