Spaces:
xp3857
/
Runtime error

xp3857 commited on
Commit
168df16
·
1 Parent(s): 604aa5a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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])