Spaces:
Runtime error
Runtime error
init
Browse files111 unmodified lines112113114115116117118111 unmodified linesdef get_depth_pipeline():feature_extractor = AutoImageProcessor.from_pretrained("LiheYoung/depth-anything-large-hf",torch_dtype=dtype).to(device)depth_estimator = AutoModelForDepthEstimation.from_pretrained("LiheYoung/depth-anything-large-hf",torch_dtype=dtype).to(device)return feature_extractor, depth_estimator111 unmodified lines112113114115116117118111 unmodified linesdef get_depth_pipeline():feature_extractor = AutoImageProcessor.from_pretrained("LiheYoung/depth-anything-large-hf",torch_dtype=dtype)depth_estimator = AutoModelForDepthEstimation.from_pretrained("LiheYoung/depth-anything-large-hf",torch_dtype=dtype).to(device)return feature_extractor, depth_estimator
app.py+1-1