changed default TTS endpoint to hostname
This commit is contained in:
parent
20da39bf69
commit
0dbb0e00e3
4
.env
4
.env
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
|
TTS_BACKEND_URL=https://api.tts.d-popov.com/
|
||||||
TTS_BACKEND_URL=http://192.168.0.10:9009/asr
|
#TTS_BACKEND_URL=http://192.168.0.10:9009/asr
|
||||||
#TTS_BACKEND_URL=http://localhost:9001/asr #gpu 9002-cpu
|
#TTS_BACKEND_URL=http://localhost:9001/asr #gpu 9002-cpu
|
||||||
TTS_BACKEND_URL2=http://localhost:9002/asr
|
TTS_BACKEND_URL2=http://localhost:9002/asr
|
||||||
TTS_BACKEND_URL3=http://192.168.0.10:9008/asr #gpu
|
TTS_BACKEND_URL3=http://192.168.0.10:9008/asr #gpu
|
||||||
|
@ -8,9 +8,9 @@ const WebSocket = require('ws');
|
|||||||
const wss = new WebSocket.Server({ port: process.env.SERVER_PORT_WS });
|
const wss = new WebSocket.Server({ port: process.env.SERVER_PORT_WS });
|
||||||
|
|
||||||
|
|
||||||
console.log(process.env)
|
// console.log("ENV="+process.env)
|
||||||
console.log(process.env.TTS_BACKEND_URL)
|
console.log("TTS_BACKEND_URL="+process.env.TTS_BACKEND_URL)
|
||||||
console.log(process.env.WS_URL)
|
console.log("WS_URL="+process.env.WS_URL)
|
||||||
|
|
||||||
let language = "en";
|
let language = "en";
|
||||||
let storeRecordings = false;
|
let storeRecordings = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user