nielsr HF staff commited on
Commit
e3552fa
1 Parent(s): f860da3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def process_image(image):
35
  predicted_depth = outputs.predicted_depth
36
 
37
  # interpolate to original size
38
- predicted_depth = torch.nn.functional.interpolate(
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",