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 e5e175d commit 9027890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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("result= " + Recognition_final);

if (Recognition_final.toLowerCase().trim()=="ok"||Recognition_final.toLowerCase().trim()=="okay") {
document.getElementById("showText").innerHTML = "";
Expand Down

0 comments on commit 9027890

Please sign in to comment.