Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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,[
|
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()
|