Spaces:
Runtime error
Runtime error
RamAnanth1
commited on
Commit
•
529cac2
1
Parent(s):
f7173df
Update app.py
Browse files
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(
|
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 |
|