johnpaulbin commited on
Commit
7185a56
·
verified ·
1 Parent(s): 0740c85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -86,10 +86,9 @@ def home():
86
  }
87
 
88
  function clearTranscription() {
89
- recognition.stop();
90
  liveOutput.textContent = '';
 
91
  lastTranscription = '';
92
- recognition.start();
93
  }
94
 
95
  // Start and stop functions
 
86
  }
87
 
88
  function clearTranscription() {
 
89
  liveOutput.textContent = '';
90
+ currentTranscription = '';
91
  lastTranscription = '';
 
92
  }
93
 
94
  // Start and stop functions