Update app.py
Browse files
app.py
CHANGED
|
@@ -47,7 +47,7 @@ with gr.Blocks(css=css) as myface:
|
|
| 47 |
gr.Column()
|
| 48 |
with gr.Column():
|
| 49 |
with gr.Accordion(label="Input Image",open=True) as og:
|
| 50 |
-
in_win=gr.Pil(label="Input", interactive=True)
|
| 51 |
out_win=gr.Pil(label="Output",visible=False)
|
| 52 |
gr.Column()
|
| 53 |
in_win.change(rem_bg,in_win,[out_win,og])
|
|
|
|
| 47 |
gr.Column()
|
| 48 |
with gr.Column():
|
| 49 |
with gr.Accordion(label="Input Image",open=True) as og:
|
| 50 |
+
in_win=gr.Pil(label="Input", type="filepath", interactive=True)
|
| 51 |
out_win=gr.Pil(label="Output",visible=False)
|
| 52 |
gr.Column()
|
| 53 |
in_win.change(rem_bg,in_win,[out_win,og])
|