bmay commited on
Commit
f7c781f
1 Parent(s): 92d96c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def run_theia(image):
23
  depth_anything_model_name = "LiheYoung/depth-anything-large-hf"
24
  depth_anything_decoder, _ = prepare_depth_decoder(depth_anything_model_name, 'cuda')
25
 
26
- image = torchvision.transforms.v2.Resize(size=(224, 224))(image)
27
  images = [image]
28
 
29
  theia_decode_results, gt_decode_results = decode_everything(
 
23
  depth_anything_model_name = "LiheYoung/depth-anything-large-hf"
24
  depth_anything_decoder, _ = prepare_depth_decoder(depth_anything_model_name, 'cuda')
25
 
26
+ image = torchvision.transforms.Resize(size=(224, 224))(image)
27
  images = [image]
28
 
29
  theia_decode_results, gt_decode_results = decode_everything(