Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -37,9 +37,9 @@ encoder2name = {
|
|
37 |
'vits': 'Small',
|
38 |
'vitb': 'Base',
|
39 |
'vitl': 'Large',
|
40 |
-
'vitg': 'Giant',
|
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")
|
|
|
37 |
'vits': 'Small',
|
38 |
'vitb': 'Base',
|
39 |
'vitl': 'Large',
|
40 |
+
'vitg': 'Giant', # we are undergoing company review procedures to release our giant model checkpoint
|
41 |
}
|
42 |
+
encoder = 'vitl'
|
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")
|