We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b60410 commit 2264dceCopy full SHA for 2264dce
connectors/sapcai/server/index.js
@@ -6,7 +6,7 @@ const app = require('express')()
6
const http = require('http').Server(app)
7
const io = require('socket.io')(http)
8
9
-const SAPCAI_TOKEN = '5ee1b84709db76f5bbff8ea14dc9ad85'
+const SAPCAI_TOKEN = process.env.SAPCAI_TOKEN
10
11
app.use(cors())
12
@@ -94,7 +94,8 @@ io.on('connection', (socket) => {
94
method: 'GET',
95
url: 'https://speech.botiumbox.com/api/tts/en',
96
params: {
97
- text: message.content
+ text: message.content,
98
+ voice: 'dfki-poppy-hsmm'
99
},
100
responseType: 'arraybuffer'
101
}
0 commit comments