Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ encoder2name = {
|
|
39 |
'vitl': 'Large',
|
40 |
'vitg': 'Giant', # we are undergoing company review procedures to release our giant model checkpoint
|
41 |
}
|
42 |
-
encoder = '
|
43 |
model_name = encoder2name[encoder]
|
44 |
model = DepthAnythingV2(**model_configs[encoder])
|
45 |
filepath = hf_hub_download(repo_id=f"depth-anything/Depth-Anything-V2-{model_name}", filename=f"depth_anything_v2_{encoder}.pth", repo_type="model")
|
|
|
39 |
'vitl': 'Large',
|
40 |
'vitg': 'Giant', # we are undergoing company review procedures to release our giant model checkpoint
|
41 |
}
|
42 |
+
encoder = 'vits'
|
43 |
model_name = encoder2name[encoder]
|
44 |
model = DepthAnythingV2(**model_configs[encoder])
|
45 |
filepath = hf_hub_download(repo_id=f"depth-anything/Depth-Anything-V2-{model_name}", filename=f"depth_anything_v2_{encoder}.pth", repo_type="model")
|