Update index.html
Browse files- index.html +2 -2
index.html
CHANGED
@@ -17,7 +17,7 @@
|
|
17 |
<script>
|
18 |
function BoardGame(agent, num_rows, num_cols) {
|
19 |
this.agent = agent;
|
20 |
-
this.audio = new Audio('/
|
21 |
this.num_cols = num_cols;
|
22 |
this.num_rows = num_rows;
|
23 |
var this_ = this;
|
@@ -203,7 +203,7 @@
|
|
203 |
setTimeout(function () { this_.render(); });
|
204 |
};
|
205 |
};
|
206 |
-
const modelUrl = '/
|
207 |
const init_fn = async function () {
|
208 |
await tf.setBackend('wasm');
|
209 |
const model = await tf.loadGraphModel(modelUrl);
|
|
|
17 |
<script>
|
18 |
function BoardGame(agent, num_rows, num_cols) {
|
19 |
this.agent = agent;
|
20 |
+
this.audio = new Audio('/stone.ogg');
|
21 |
this.num_cols = num_cols;
|
22 |
this.num_rows = num_rows;
|
23 |
var this_ = this;
|
|
|
203 |
setTimeout(function () { this_.render(); });
|
204 |
};
|
205 |
};
|
206 |
+
const modelUrl = '/model.json';
|
207 |
const init_fn = async function () {
|
208 |
await tf.setBackend('wasm');
|
209 |
const model = await tf.loadGraphModel(modelUrl);
|