Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,7 +56,7 @@ out.textContent = 'text_seconds: ' + data.timings.text_seconds +
|
|
| 56 |
return;
|
| 57 |
}
|
| 58 |
|
| 59 |
-
|
| 60 |
if (data.audio_base64) {
|
| 61 |
// create audio element and play
|
| 62 |
const audio = document.createElement('audio');
|
|
|
|
| 56 |
return;
|
| 57 |
}
|
| 58 |
|
| 59 |
+
// out.textContent = data.text || "(no text)";
|
| 60 |
if (data.audio_base64) {
|
| 61 |
// create audio element and play
|
| 62 |
const audio = document.createElement('audio');
|