Spaces:
Running
Running
Update app.py
Browse files
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 |
|