Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,7 @@ def process_image(image):
|
|
| 35 |
predicted_depth = outputs.predicted_depth
|
| 36 |
|
| 37 |
# interpolate to original size
|
| 38 |
-
|
| 39 |
predicted_depth.unsqueeze(1),
|
| 40 |
size=image.size[::-1],
|
| 41 |
mode="bicubic",
|
|
|
|
| 35 |
predicted_depth = outputs.predicted_depth
|
| 36 |
|
| 37 |
# interpolate to original size
|
| 38 |
+
prediction = torch.nn.functional.interpolate(
|
| 39 |
predicted_depth.unsqueeze(1),
|
| 40 |
size=image.size[::-1],
|
| 41 |
mode="bicubic",
|