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