Skip to content

Commit

Permalink
Update ESP32_SpeechRecognition.html
Browse files Browse the repository at this point in the history
  • Loading branch information
fustyles authored Aug 4, 2019
1 parent 43f7946 commit e5e175d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ESP32_SpeechRecognition.html
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
Recognition_interim = linebreak(interim_transcript);
if (Recognition_interim=='') {
Recognition_final = linebreak(final_transcript);
console.log("final = " + Recognition_final);
console.log("final= " + Recognition_final);

if (Recognition_final.toLowerCase().trim()=="ok"||Recognition_final.toLowerCase().trim()=="okay") {
document.getElementById("showText").innerHTML = "";
Expand All @@ -198,7 +198,7 @@
else {
Recognition_final = "";
document.getElementById("showText").innerHTML = Recognition_interim;
console.log("interim = " + Recognition_interim);
console.log(Recognition_interim);
}
if (document.getElementById("showText").innerHTML!="") {
document.getElementById("result").innerHTML = "";
Expand Down

0 comments on commit e5e175d

Please sign in to comment.