Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,8 +37,8 @@ description = "Demo for Intel's DPT, a Dense Prediction Transformer for state-of
|
|
| 37 |
examples =[['cats.jpg']]
|
| 38 |
|
| 39 |
iface = gr.Interface(fn=process_image,
|
| 40 |
-
inputs=gr.
|
| 41 |
-
outputs=gr.
|
| 42 |
title=title,
|
| 43 |
description=description,
|
| 44 |
examples=examples,
|
|
|
|
| 37 |
examples =[['cats.jpg']]
|
| 38 |
|
| 39 |
iface = gr.Interface(fn=process_image,
|
| 40 |
+
inputs=gr.Image(type="pil"),
|
| 41 |
+
outputs=gr.Image(type="pil", label="predicted depth"),
|
| 42 |
title=title,
|
| 43 |
description=description,
|
| 44 |
examples=examples,
|