Views
No views yet
run-server.bat batch file in the /server directory to match your actual file paths.C:\myown-tts\server, update the file as follows:1@echo off
2setlocal
3cd /D "%~dp0"
4set MECAB_KO_DIC_PATH=.\mecab\mecab-ko-dic -r .\mecab\mecabrc
5set TTS_MODEL_FILE=C:\myown-tts\server\models\glowtts-v2\best_model.pth.tar
6set TTS_MODEL_CONFIG=C:\myown-tts\server\models\glowtts-v2\config.json
7set VOCODER_MODEL_FILE=C:\myown-tts\server\models\hifigan-v2\best_model.pth.tar
8set VOCODER_MODEL_CONFIG=C:\myown-tts\server\models\hifigan-v2\config.json
9server.exe
10endlocalglowtts-v2/config.json and hifigan-v2/config.json files in the /server/models/ directory with your actual file paths.\\) in the file paths, as shown below:glowtts-v2/config.json:"stats_path": "C:\\mydata\\tts-server\\models\\glowtts-v2\\scale_stats.npy"hifigan-v2/config.json:"stats_path": "C:\\mydata\\tts-server\\models\\hifigan-v2\\scale_stats.npy"run-server.bat. Once the server is running, you will see the message INFO:werkzeug: * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit) in the command prompt, indicating that the speech synthesis feature is available through the TTS server. To stop the server, press CTRL+C in the command prompt./tts-server/api/process-text/tts-server/api/infer-glowttstext parameter of the URL.http://localhost:5000/tts-server/api/infer-glowtts?text=hellogit checkout -b feature/<featureName>.git commit -am 'Add <featureName>'.git push origin feature/<featureName>.