Spaces:
Sleeping
Sleeping
Update helpers/tts.js
Browse files- helpers/tts.js +2 -2
helpers/tts.js
CHANGED
@@ -12,8 +12,8 @@ let SSML = `<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xml
|
|
12 |
</speak>`;
|
13 |
|
14 |
|
15 |
-
const key = process.env
|
16 |
-
const region = process.env
|
17 |
|
18 |
// Check if variables are loaded
|
19 |
if (!key || !region) {
|
|
|
12 |
</speak>`;
|
13 |
|
14 |
|
15 |
+
const key = process.env['AZURE_KEY'];
|
16 |
+
const region = process.env['AZURE_REGION'];
|
17 |
|
18 |
// Check if variables are loaded
|
19 |
if (!key || !region) {
|