rushidarge commited on
Commit
f6fb820
1 Parent(s): 1598a81

Update script.js

Browse files
Files changed (1) hide show
  1. script.js +1 -1
script.js CHANGED
@@ -44,7 +44,7 @@ stopBtn.addEventListener("click", () => {
44
  startBtn.disabled = false; // Enable start button
45
  stopBtn.disabled = true; // Disable stop button
46
  console.log(transcript.value);
47
- var formattedText = addPunctuation(transcript.value);
48
  console.log(formattedText);
49
  transcript.value = formattedText;
50
  });
 
44
  startBtn.disabled = false; // Enable start button
45
  stopBtn.disabled = true; // Disable stop button
46
  console.log(transcript.value);
47
+ var formattedText = formatText(transcript.value);
48
  console.log(formattedText);
49
  transcript.value = formattedText;
50
  });