adpro commited on
Commit
112cd3d
·
verified ·
1 Parent(s): 6a17cd5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def process_image(image_path):
43
  output = prediction.cpu().numpy()
44
  depth_image = (output * 255 / np.max(output)).astype("uint8")
45
  depth_image_padded = np.array(
46
- ImageOps.pad(Image.fromarray(depth_image), (1280, 720))
47
  )
48
 
49
 
 
43
  output = prediction.cpu().numpy()
44
  depth_image = (output * 255 / np.max(output)).astype("uint8")
45
  depth_image_padded = np.array(
46
+ Image.fromarray(depth_image)
47
  )
48
 
49