Update index.html
Browse files- index.html +5 -1
index.html
CHANGED
|
@@ -23,6 +23,10 @@
|
|
| 23 |
<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
|
| 24 |
</p>
|
| 25 |
</div>
|
| 26 |
-
<script
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
</body>
|
| 28 |
</html>
|
|
|
|
| 23 |
<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
|
| 24 |
</p>
|
| 25 |
</div>
|
| 26 |
+
<script>
|
| 27 |
+
import { oauthLoginUrl } from "@huggingface/hub";
|
| 28 |
+
|
| 29 |
+
window.location.href = await oauthLoginUrl();
|
| 30 |
+
</script>
|
| 31 |
</body>
|
| 32 |
</html>
|