Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
|
@@ -32,7 +32,7 @@
|
|
| 32 |
.map(file => {
|
| 33 |
const url =
|
| 34 |
`https://huggingface.co/datasets/LeRobot-worldwide-hackathon/submissions/resolve/main/${encodeURIComponent(file.path)}`;
|
| 35 |
-
const match = file.path.match(/(
|
| 36 |
const team = match ? match[1] : null;
|
| 37 |
const label = team ? `Team ${team}` : "Unknown Team";
|
| 38 |
return {
|
|
|
|
| 32 |
.map(file => {
|
| 33 |
const url =
|
| 34 |
`https://huggingface.co/datasets/LeRobot-worldwide-hackathon/submissions/resolve/main/${encodeURIComponent(file.path)}`;
|
| 35 |
+
const match = file.path.match(/(?:^|\/)(\d+)/i);
|
| 36 |
const team = match ? match[1] : null;
|
| 37 |
const label = team ? `Team ${team}` : "Unknown Team";
|
| 38 |
return {
|