Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,8 +42,8 @@ def launch(input_image: Image.Image) -> Image.Image:
|
|
| 42 |
# Define the Gradio interface
|
| 43 |
iface = gr.Interface(
|
| 44 |
fn=launch,
|
| 45 |
-
inputs=gr.
|
| 46 |
-
outputs=gr.
|
| 47 |
title="Depth Estimation",
|
| 48 |
description="Upload an image to estimate its depth map."
|
| 49 |
)
|
|
|
|
| 42 |
# Define the Gradio interface
|
| 43 |
iface = gr.Interface(
|
| 44 |
fn=launch,
|
| 45 |
+
inputs=gr.Image(type='pil'),
|
| 46 |
+
outputs=gr.Image(type='pil'),
|
| 47 |
title="Depth Estimation",
|
| 48 |
description="Upload an image to estimate its depth map."
|
| 49 |
)
|