Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -86,8 +86,10 @@ def home():
|
|
86 |
}
|
87 |
|
88 |
function clearTranscription() {
|
|
|
89 |
liveOutput.textContent = '';
|
90 |
lastTranscription = '';
|
|
|
91 |
}
|
92 |
|
93 |
// Start and stop functions
|
|
|
86 |
}
|
87 |
|
88 |
function clearTranscription() {
|
89 |
+
recognition.stop();
|
90 |
liveOutput.textContent = '';
|
91 |
lastTranscription = '';
|
92 |
+
recognition.start();
|
93 |
}
|
94 |
|
95 |
// Start and stop functions
|