@ -31,6 +31,7 @@ class AIWrapper {
for(let gateway of this.index.index) {
let net = new brain.NeuralNetwork();
net.fromJSON(
// TODO: Move this to the UI thread & do it only once?
await GetFromUrl(`${path.dirname(self.location.href)}/${path.dirname(this.Config.ai_index_file)}/${gateway.filename}`)
);