Spaces:
Running
Running
back to oauth
Browse files- index.html +6 -5
- index.pck +0 -0
index.html
CHANGED
@@ -14,16 +14,17 @@
|
|
14 |
</script>
|
15 |
</head>
|
16 |
<body>
|
17 |
-
<canvas id="canvas">
|
18 |
-
|
19 |
-
</canvas>
|
20 |
-
|
21 |
<script src = "ghugging.js"></script>
|
|
|
22 |
<script type="module">
|
23 |
window.oauthLoginUrl = oauthLoginUrl;
|
24 |
window.oauthHandleRedirectIfPresent = oauthHandleRedirectIfPresent;
|
25 |
import { oauthLoginUrl, oauthHandleRedirectIfPresent } from "@huggingface/hub";
|
26 |
import { Client,handle_file } from "@gradio/client";
|
|
|
|
|
|
|
27 |
//console.log(Buffer)
|
28 |
//console.log(window.Buffer)
|
29 |
console.log(window.GHugging)
|
@@ -32,7 +33,7 @@
|
|
32 |
|
33 |
<script src="index.js"></script>
|
34 |
<script>
|
35 |
-
var engine = new Engine({"args":[],"canvasResizePolicy":2,"ensureCrossOriginIsolationHeaders":true,"executable":"index","experimentalVK":false,"fileSizes":{"index.pck":
|
36 |
engine.startGame();
|
37 |
</script>
|
38 |
</body>
|
|
|
14 |
</script>
|
15 |
</head>
|
16 |
<body>
|
17 |
+
<canvas id="canvas"></canvas>
|
|
|
|
|
|
|
18 |
<script src = "ghugging.js"></script>
|
19 |
+
|
20 |
<script type="module">
|
21 |
window.oauthLoginUrl = oauthLoginUrl;
|
22 |
window.oauthHandleRedirectIfPresent = oauthHandleRedirectIfPresent;
|
23 |
import { oauthLoginUrl, oauthHandleRedirectIfPresent } from "@huggingface/hub";
|
24 |
import { Client,handle_file } from "@gradio/client";
|
25 |
+
|
26 |
+
window.Client = Client;
|
27 |
+
window.Buffer = ArrayBuffer
|
28 |
//console.log(Buffer)
|
29 |
//console.log(window.Buffer)
|
30 |
console.log(window.GHugging)
|
|
|
33 |
|
34 |
<script src="index.js"></script>
|
35 |
<script>
|
36 |
+
var engine = new Engine({"args":[],"canvasResizePolicy":2,"ensureCrossOriginIsolationHeaders":true,"executable":"index","experimentalVK":false,"fileSizes":{"index.pck":235104,"index.wasm":35372023},"focusCanvas":true,"gdextensionLibs":[]});
|
37 |
engine.startGame();
|
38 |
</script>
|
39 |
</body>
|
index.pck
CHANGED
Binary files a/index.pck and b/index.pck differ
|
|