adpro commited on
Commit
bd0efcd
·
verified ·
1 Parent(s): 03a319e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def process_image(image):
31
  output = prediction.cpu().numpy()
32
  formatted = (output * 255 / np.max(output)).astype('uint8')
33
  img = Image.fromarray(formatted)
34
- return img
35
 
36
  # Interface
37
  title = "Demo: Zero-shot Depth Estimation with DPT"
 
31
  output = prediction.cpu().numpy()
32
  formatted = (output * 255 / np.max(output)).astype('uint8')
33
  img = Image.fromarray(formatted)
34
+ return [img]
35
 
36
  # Interface
37
  title = "Demo: Zero-shot Depth Estimation with DPT"