diff --git a/other/tensor/test1/script.js b/other/tensor/test1/script.js index 178bd60..516cd07 100644 --- a/other/tensor/test1/script.js +++ b/other/tensor/test1/script.js @@ -6,13 +6,11 @@ async function createModel() { const checkpointURL = URL + "model.json"; // model topology - const metadataURL = URL + "metadata.json"; // model metadata const recognizer = speechCommands.create( "BROWSER_FFT", // fourier transform type, not useful to change undefined, // speech commands vocabulary feature, not useful for your models - checkpointURL, - metadataURL); + checkpointURL); // check that model and metadata are loaded via HTTPS requests. await recognizer.ensureModelLoaded();