Removed useless load function

This commit is contained in:
Kieran 2024-11-20 16:23:56 +01:00
parent f4ef5ffcbc
commit eeadfbdd38

7
tf.js
View File

@ -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);});
})