adpro commited on
Commit
d07f556
·
verified ·
1 Parent(s): f359fae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -29,8 +29,7 @@ def process_image(image):
29
  formatted = (output * 255 / np.max(output)).astype('uint8')
30
  img = Image.fromarray(formatted)
31
  return img
32
-
33
- return result
34
 
35
  title = "Demo: zero-shot depth estimation with DPT"
36
  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."
 
29
  formatted = (output * 255 / np.max(output)).astype('uint8')
30
  img = Image.fromarray(formatted)
31
  return img
32
+
 
33
 
34
  title = "Demo: zero-shot depth estimation with DPT"
35
  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."