Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -201,7 +201,7 @@ with gr.Blocks() as app:
|
|
201 |
url_params=gr.JSON()
|
202 |
outp_vid.change(load_video,outp_vid,frame_count)
|
203 |
frame_btn.click(capture_function,[outp_vid,frame_count],[frame_gal,frame_file])
|
204 |
-
rem_btn.click(
|
205 |
go_btn.click(dl,inp_url,[outp_vid,in_vid,outp_file])
|
206 |
app.load(fn=predict, inputs=[text_input,url_params], outputs=[text_output,text_input],_js=load_js)
|
207 |
app.launch()
|
|
|
201 |
url_params=gr.JSON()
|
202 |
outp_vid.change(load_video,outp_vid,frame_count)
|
203 |
frame_btn.click(capture_function,[outp_vid,frame_count],[frame_gal,frame_file])
|
204 |
+
rem_btn.click(rem_bg,[outp_vid,frame_count],rem_vid)
|
205 |
go_btn.click(dl,inp_url,[outp_vid,in_vid,outp_file])
|
206 |
app.load(fn=predict, inputs=[text_input,url_params], outputs=[text_output,text_input],_js=load_js)
|
207 |
app.launch()
|