diff --git a/tf.js b/tf.js index 318cfb5..aeb0b7b 100644 --- a/tf.js +++ b/tf.js @@ -110,13 +110,6 @@ function loadWeights(dict){ maxApi.addHandler("set_weights", loadWeights); - -maxApi.addHandler("load", (dictId, key) => { - maxApi.getDict(dictId).then((dict) => { - loadWeights(dict[key]); - }); -}); - maxApi.addHandler("dump_weights", () => { getJson().then((json) => {maxApi.outlet("weights", json);}); })