Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,8 +35,8 @@ description = "Upload an image and get the depth visualization"
|
|
| 35 |
examples =[['house.jpg'], ['plane.webp'], ['room.webp']]
|
| 36 |
|
| 37 |
iface = gr.Interface(fn=process_image,
|
| 38 |
-
inputs=gr.
|
| 39 |
-
outputs=gr.
|
| 40 |
title=title,
|
| 41 |
description=description,
|
| 42 |
examples=examples)
|
|
|
|
| 35 |
examples =[['house.jpg'], ['plane.webp'], ['room.webp']]
|
| 36 |
|
| 37 |
iface = gr.Interface(fn=process_image,
|
| 38 |
+
inputs=gr.components.Image(type="pil"),
|
| 39 |
+
outputs=gr.components.Image(type="pil", label="Predicted depth"),
|
| 40 |
title=title,
|
| 41 |
description=description,
|
| 42 |
examples=examples)
|