Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,6 +37,7 @@ def process_image(image):
|
|
| 37 |
depth_img = Image.fromarray(formatted)
|
| 38 |
|
| 39 |
return depth_img
|
|
|
|
| 40 |
|
| 41 |
title = "Demo: zero-shot depth estimation with DPT"
|
| 42 |
description = "Demo for Intel's DPT, a Dense Prediction Transformer for state-of-the-art dense prediction tasks such as semantic segmentation and depth estimation."
|
|
|
|
| 37 |
depth_img = Image.fromarray(formatted)
|
| 38 |
|
| 39 |
return depth_img
|
| 40 |
+
return result
|
| 41 |
|
| 42 |
title = "Demo: zero-shot depth estimation with DPT"
|
| 43 |
description = "Demo for Intel's DPT, a Dense Prediction Transformer for state-of-the-art dense prediction tasks such as semantic segmentation and depth estimation."
|