Spaces:
Sleeping
Sleeping
Update app.py
Browse files42 unmodified lines4344454647484942 unmodified linesoutput = prediction.cpu().numpy()depth_image = (output * 255 / np.max(output)).astype("uint8")depth_image_padded = np.array(ImageOps.pad(Image.fromarray(depth_image), (1280, 720)))42 unmodified lines4344454647484942 unmodified linesoutput = prediction.cpu().numpy()depth_image = (output * 255 / np.max(output)).astype("uint8")depth_image_padded = np.array(Image.fromarray(depth_image))
app.py+1-1