Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|