nick_93 commited on
Commit
f732e49
1 Parent(s): ab3659a
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -112,7 +112,7 @@ def segment_image(
112
 
113
  def get_depth_pipeline():
114
  feature_extractor = AutoImageProcessor.from_pretrained("LiheYoung/depth-anything-large-hf",
115
- torch_dtype=dtype).to(device)
116
  depth_estimator = AutoModelForDepthEstimation.from_pretrained("LiheYoung/depth-anything-large-hf",
117
  torch_dtype=dtype).to(device)
118
  return feature_extractor, depth_estimator
 
112
 
113
  def get_depth_pipeline():
114
  feature_extractor = AutoImageProcessor.from_pretrained("LiheYoung/depth-anything-large-hf",
115
+ torch_dtype=dtype)
116
  depth_estimator = AutoModelForDepthEstimation.from_pretrained("LiheYoung/depth-anything-large-hf",
117
  torch_dtype=dtype).to(device)
118
  return feature_extractor, depth_estimator