coyotte508 HF Staff commited on
Commit
7c94d71
·
verified ·
1 Parent(s): 64c6fa9

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +2 -2
index.html CHANGED
@@ -28,14 +28,14 @@
28
  <script type="module">
29
  import { oauthLoginUrl, oauthHandleRedirectIfPresent } from "@huggingface/hub";
30
 
31
- const oauthResult = await oauthHandleRedirectIfPresent({clientId: "8f1a1d63-479b-46c8-84cb-521fe9f3222f", hubUrl: "http://localhost:5175"});
32
 
33
  if (oauthResult) {
34
  document.querySelector("pre").textContent = JSON.stringify(oauthResult, null, 2);
35
  } else {
36
  document.getElementById("signin").style.removeProperty("display");
37
  document.getElementById("signin").onclick = async function() {
38
- window.location.href = await oauthLoginUrl({clientId: "8f1a1d63-479b-46c8-84cb-521fe9f3222f", hubUrl: "http://localhost:5175"});
39
  }
40
  }
41
  </script>
 
28
  <script type="module">
29
  import { oauthLoginUrl, oauthHandleRedirectIfPresent } from "@huggingface/hub";
30
 
31
+ const oauthResult = await oauthHandleRedirectIfPresent({clientId: "8f1a1d63-479b-46c8-84cb-521fe9f3222f", hubUrl: "http://localhost:5564"});
32
 
33
  if (oauthResult) {
34
  document.querySelector("pre").textContent = JSON.stringify(oauthResult, null, 2);
35
  } else {
36
  document.getElementById("signin").style.removeProperty("display");
37
  document.getElementById("signin").onclick = async function() {
38
+ window.location.href = await oauthLoginUrl({clientId: "8f1a1d63-479b-46c8-84cb-521fe9f3222f", hubUrl: "http://localhost:5564"});
39
  }
40
  }
41
  </script>