Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ with gr.Blocks(css=css) as demo:
|
|
85 |
|
86 |
h, w = image.shape[:2]
|
87 |
|
88 |
-
depth = predict_depth(image
|
89 |
|
90 |
raw_depth = Image.fromarray(depth.astype('uint16'))
|
91 |
tmp_raw_depth = tempfile.NamedTemporaryFile(suffix='.png', delete=False)
|
|
|
85 |
|
86 |
h, w = image.shape[:2]
|
87 |
|
88 |
+
depth = predict_depth(image)
|
89 |
|
90 |
raw_depth = Image.fromarray(depth.astype('uint16'))
|
91 |
tmp_raw_depth = tempfile.NamedTemporaryFile(suffix='.png', delete=False)
|