Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
@@ -202,8 +202,8 @@
|
|
202 |
};
|
203 |
const modelUrl = '/static/ntt123/Connect-4-Game/model.json';
|
204 |
const init_fn = async function () {
|
205 |
-
const model = await tf.loadGraphModel(modelUrl);
|
206 |
await tf.setBackend('wasm');
|
|
|
207 |
return model;
|
208 |
};
|
209 |
document.addEventListener("DOMContentLoaded", function (event) {
|
|
|
202 |
};
|
203 |
const modelUrl = '/static/ntt123/Connect-4-Game/model.json';
|
204 |
const init_fn = async function () {
|
|
|
205 |
await tf.setBackend('wasm');
|
206 |
+
const model = await tf.loadGraphModel(modelUrl);
|
207 |
return model;
|
208 |
};
|
209 |
document.addEventListener("DOMContentLoaded", function (event) {
|