chroneus commited on
Commit
b722b7d
·
verified ·
1 Parent(s): 37ae518

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -31,8 +31,8 @@ print("MODEL LOADED")
31
  print("************************************")
32
 
33
  iface = gr.Interface(fn=predict,
34
- inputs=gr.Image(type="numpy"),
35
- outputs=[gr.Image(type="numpy"),gr.Image(type="pil", image_mode='RGBA')],
36
  examples=["./logo.jpeg"])
37
  print("****************Interface created******************")
38
 
 
31
  print("************************************")
32
 
33
  iface = gr.Interface(fn=predict,
34
+ inputs=gr.Image(type="numpy", label="Input Image with Person/animal(dog,cat,fox)"),
35
+ outputs=[gr.Image(type="numpy", label="Alpha Channel"),gr.Image(type="pil", image_mode='RGBA',label="Transparent Image without Background)],
36
  examples=["./logo.jpeg"])
37
  print("****************Interface created******************")
38