abhijitramesh commited on
Commit
92eab7d
·
verified ·
1 Parent(s): 3a2e74c

fix: read OAuth clientId from window.huggingface.variables; direct commit instead of PR

Browse files
Files changed (1) hide show
  1. 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.prUrl || `https://huggingface.co/datasets/${HF_DATASET_REPO}/blob/main/${res.path}`;
 
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.