Spaces:
Running
Running
fix: read OAuth clientId from window.huggingface.variables; direct commit instead of PR
Browse files- bench-app.js +2 -1
bench-app.js
CHANGED
|
@@ -740,7 +740,8 @@ function wireHubHandlers() {
|
|
| 740 |
machineSlug: first.machine?.slug || 'unknown',
|
| 741 |
browser: first.browser || 'unknown-browser',
|
| 742 |
});
|
| 743 |
-
const link = res.
|
|
|
|
| 744 |
logLine(`Submitted: ${link}`);
|
| 745 |
flashButton(submitBtn, 'Submitted!');
|
| 746 |
// Allow further submissions of newer runs.
|
|
|
|
| 740 |
machineSlug: first.machine?.slug || 'unknown',
|
| 741 |
browser: first.browser || 'unknown-browser',
|
| 742 |
});
|
| 743 |
+
const link = res.commitUrl
|
| 744 |
+
|| `https://huggingface.co/datasets/${HF_DATASET_REPO}/blob/main/${res.path}`;
|
| 745 |
logLine(`Submitted: ${link}`);
|
| 746 |
flashButton(submitBtn, 'Submitted!');
|
| 747 |
// Allow further submissions of newer runs.
|