Spaces:
Running
Running
Update model_weights.js
Browse files- model_weights.js +2 -0
model_weights.js
CHANGED
@@ -43,6 +43,8 @@ oReq.onload = function (oEvent) {
|
|
43 |
}
|
44 |
};
|
45 |
|
|
|
|
|
46 |
tf.ready().then( function() {
|
47 |
tf.enableProdMode();
|
48 |
oReq.send(null);
|
|
|
43 |
}
|
44 |
};
|
45 |
|
46 |
+
tf.setBackend('wasm');
|
47 |
+
|
48 |
tf.ready().then( function() {
|
49 |
tf.enableProdMode();
|
50 |
oReq.send(null);
|