Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ def predict(image):
|
|
| 15 |
depth = model.infer_pil(image)
|
| 16 |
colored_depth = colorize(depth, cmap='gray_r')
|
| 17 |
|
| 18 |
-
depth_json = json.dumps(depth.numpy())
|
| 19 |
|
| 20 |
return colored_depth, depth_json
|
| 21 |
|
|
|
|
| 15 |
depth = model.infer_pil(image)
|
| 16 |
colored_depth = colorize(depth, cmap='gray_r')
|
| 17 |
|
| 18 |
+
depth_json = "Hey" #json.dumps(depth.numpy())
|
| 19 |
|
| 20 |
return colored_depth, depth_json
|
| 21 |
|