File tree 3 files changed +2
-4
lines changed
3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @tensorflow-models/speech-commands" ,
3
- "version" : " 0.2.1 " ,
3
+ "version" : " 0.2.2 " ,
4
4
"description" : " Speech-command recognizer in TensorFlow.js" ,
5
5
"main" : " dist/index.js" ,
6
6
"unpkg" : " dist/speech-commands.min.js" ,
Original file line number Diff line number Diff line change @@ -182,8 +182,6 @@ export class BrowserFftSpeechCommandRecognizer implements
182
182
`Expected overlapFactor to be >= 0 and < 1, but got ${ overlapFactor } ` ) ;
183
183
184
184
const spectrogramCallback : SpectrogramCallback = async ( x : tf . Tensor ) => {
185
- await this . ensureModelWithEmbeddingOutputCreated ( ) ;
186
-
187
185
const normalizedX = normalize ( x ) ;
188
186
let y : tf . Tensor ;
189
187
let embedding : tf . Tensor ;
Original file line number Diff line number Diff line change 1
1
/** @license See the LICENSE file. */
2
2
// This code is auto-generated, do not modify this file!
3
- const version = '0.2.1 ' ;
3
+ const version = '0.2.2 ' ;
4
4
export { version } ;
You can’t perform that action at this time.
0 commit comments