changed default TTS endpoint to hostname

This commit is contained in:
Dobromir Popov 2024-06-10 00:37:04 +03:00
parent 20da39bf69
commit 0dbb0e00e3
2 changed files with 5 additions and 5 deletions

4
.env
View File

@ -1,6 +1,6 @@
TTS_BACKEND_URL=http://192.168.0.10:9009/asr
TTS_BACKEND_URL=https://api.tts.d-popov.com/
#TTS_BACKEND_URL=http://192.168.0.10:9009/asr
#TTS_BACKEND_URL=http://localhost:9001/asr #gpu 9002-cpu
TTS_BACKEND_URL2=http://localhost:9002/asr
TTS_BACKEND_URL3=http://192.168.0.10:9008/asr #gpu

View File

@ -8,9 +8,9 @@ const WebSocket = require('ws');
const wss = new WebSocket.Server({ port: process.env.SERVER_PORT_WS });
console.log(process.env)
console.log(process.env.TTS_BACKEND_URL)
console.log(process.env.WS_URL)
// console.log("ENV="+process.env)
console.log("TTS_BACKEND_URL="+process.env.TTS_BACKEND_URL)
console.log("WS_URL="+process.env.WS_URL)
let language = "en";
let storeRecordings = false;