RamAnanth1 commited on
Commit
529cac2
1 Parent(s): f7173df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ zoe = model_zoe_n.to(DEVICE)
16
  def process_image(image):
17
  depth_numpy = zoe.infer_pil(image) # as numpy
18
  depth_pil = zoe.infer_pil(image, output_type="pil") # as 16-bit PIL Image
19
- colored_depth = colorize(depth)
20
 
21
  return colored_depth
22
 
 
16
  def process_image(image):
17
  depth_numpy = zoe.infer_pil(image) # as numpy
18
  depth_pil = zoe.infer_pil(image, output_type="pil") # as 16-bit PIL Image
19
+ colored_depth = colorize(depth_pil)
20
 
21
  return colored_depth
22