Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
ba25bef
1
Parent(s):
4df052a
update checkpoints
Browse files
app.py
CHANGED
|
@@ -160,10 +160,10 @@ class AppState:
|
|
| 160 |
|
| 161 |
def _model_repo_from_key(key: str) -> str:
|
| 162 |
mapping = {
|
| 163 |
-
"tiny": "
|
| 164 |
-
"small": "
|
| 165 |
-
"base_plus": "
|
| 166 |
-
"large": "
|
| 167 |
}
|
| 168 |
return mapping.get(key, mapping["base_plus"])
|
| 169 |
|
|
|
|
| 160 |
|
| 161 |
def _model_repo_from_key(key: str) -> str:
|
| 162 |
mapping = {
|
| 163 |
+
"tiny": "facebook/sam2.1-hiera-tiny",
|
| 164 |
+
"small": "facebook/sam2.1-hiera-small",
|
| 165 |
+
"base_plus": "facebook/sam2.1-hiera-base-plus",
|
| 166 |
+
"large": "facebook/sam2.1-hiera-large",
|
| 167 |
}
|
| 168 |
return mapping.get(key, mapping["base_plus"])
|
| 169 |
|