Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files36 unmodified lines37383940414243444536 unmodified lines'vits': 'Small','vitb': 'Base','vitl': 'Large','vitg': 'Giant',}encoder = 'vitg'model_name = encoder2name[encoder]model = DepthAnythingV2(**model_configs[encoder])filepath = hf_hub_download(repo_id=f"depth-anything/Depth-Anything-V2-{model_name}", filename=f"depth_anything_v2_{encoder}.pth", repo_type="model")36 unmodified lines37383940414243444536 unmodified lines'vits': 'Small','vitb': 'Base','vitl': 'Large','vitg': 'Giant', # we are undergoing company review procedures to release our giant model checkpoint}encoder = 'vitl'model_name = encoder2name[encoder]model = DepthAnythingV2(**model_configs[encoder])filepath = hf_hub_download(repo_id=f"depth-anything/Depth-Anything-V2-{model_name}", filename=f"depth_anything_v2_{encoder}.pth", repo_type="model")
app.py+2-2