Spaces:
Sleeping
Sleeping
Update server.js
Browse files
server.js
CHANGED
|
@@ -95,7 +95,7 @@ app.get('/atts/:text', (req, res) => {
|
|
| 95 |
|
| 96 |
|
| 97 |
|
| 98 |
-
synthesizer.speakTextAsync(text +`.\n
|
| 99 |
function (result) {
|
| 100 |
if (result.reason === sdk.ResultReason.SynthesizingAudioCompleted) {
|
| 101 |
console.log("synthesis finished.");
|
|
|
|
| 95 |
|
| 96 |
|
| 97 |
|
| 98 |
+
synthesizer.speakTextAsync(text +`.\n speaked by Azure TTS`,
|
| 99 |
function (result) {
|
| 100 |
if (result.reason === sdk.ResultReason.SynthesizingAudioCompleted) {
|
| 101 |
console.log("synthesis finished.");
|