From 42cb30e81070f72c63af760fecd2da123588a995 Mon Sep 17 00:00:00 2001 From: funix Date: Mon, 4 Oct 2021 18:23:28 +0200 Subject: [PATCH] mod js --- speech/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/speech/index.js b/speech/index.js index 6dd72b5..0b4be8d 100644 --- a/speech/index.js +++ b/speech/index.js @@ -1,3 +1,6 @@ +// ARRAY DI PAROLE NORMALE, POI PYTHON -> split, for loop, POS e "); if (event.results[i].isFinal) { - finalTranscripts += transcript; + finalTranscripts += ''+transcript+''; } else { // There are also shown the interim results and according to their "confidence" (the percentage of how much the word is correct) the color of each word could change interimTranscripts += transcript; allTheInterim += `