Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,7 +46,7 @@ def process_image(image_path):
|
|
| 46 |
output = prediction.cpu().numpy()
|
| 47 |
depth_image = (output * 255 / np.max(output)).astype("uint8")
|
| 48 |
depth_image_padded = Image.fromarray(depth_image)
|
| 49 |
-
|
| 50 |
|
| 51 |
|
| 52 |
return [depth_image_padded]
|
|
|
|
| 46 |
output = prediction.cpu().numpy()
|
| 47 |
depth_image = (output * 255 / np.max(output)).astype("uint8")
|
| 48 |
depth_image_padded = Image.fromarray(depth_image)
|
| 49 |
+
|
| 50 |
|
| 51 |
|
| 52 |
return [depth_image_padded]
|