Commit
·
36ed5fd
1
Parent(s):
00ccb92
make hf default when no namespace
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ df_with_org = df.copy(deep=True)
|
|
| 42 |
|
| 43 |
def parse_org(hub_id):
|
| 44 |
parts = hub_id.split("/")
|
| 45 |
-
return parts[0] if len(parts) == 2 else
|
| 46 |
|
| 47 |
|
| 48 |
df_with_org["org"] = df_with_org["base_model"].apply(parse_org)
|
|
|
|
| 42 |
|
| 43 |
def parse_org(hub_id):
|
| 44 |
parts = hub_id.split("/")
|
| 45 |
+
return parts[0] if len(parts) == 2 else "huggingface"
|
| 46 |
|
| 47 |
|
| 48 |
df_with_org["org"] = df_with_org["base_model"].apply(parse_org)
|