mirror of https://github.com/coqui-ai/TTS.git
update server test
This commit is contained in:
parent
61bdb26554
commit
2a6bce31cb
|
@ -1,5 +1,4 @@
|
||||||
import io
|
import io
|
||||||
import os
|
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
@ -101,7 +100,6 @@ class Synthesizer(object):
|
||||||
def load_pwgan(self, lib_path, model_file, model_config, use_cuda):
|
def load_pwgan(self, lib_path, model_file, model_config, use_cuda):
|
||||||
sys.path.append(lib_path) # set this if TTS is not installed globally
|
sys.path.append(lib_path) # set this if TTS is not installed globally
|
||||||
from parallel_wavegan.models import ParallelWaveGANGenerator
|
from parallel_wavegan.models import ParallelWaveGANGenerator
|
||||||
from parallel_wavegan.utils.audio import AudioProcessor as AudioProcessorVocoder
|
|
||||||
print(" > Loading PWGAN model ...")
|
print(" > Loading PWGAN model ...")
|
||||||
print(" | > model config: ", model_config)
|
print(" | > model config: ", model_config)
|
||||||
print(" | > model file: ", model_file)
|
print(" | > model file: ", model_file)
|
||||||
|
|
|
@ -3,9 +3,11 @@
|
||||||
"tts_config":"dummy_model_config.json", // tts config.json file
|
"tts_config":"dummy_model_config.json", // tts config.json file
|
||||||
"tts_speakers": null, // json file listing speaker ids. null if no speaker embedding.
|
"tts_speakers": null, // json file listing speaker ids. null if no speaker embedding.
|
||||||
"wavernn_lib_path": null, // Rootpath to wavernn project folder to be imported. If this is null, model uses GL for speech synthesis.
|
"wavernn_lib_path": null, // Rootpath to wavernn project folder to be imported. If this is null, model uses GL for speech synthesis.
|
||||||
"wavernn_path": null, // wavernn model root path
|
|
||||||
"wavernn_file": null, // wavernn checkpoint file name
|
"wavernn_file": null, // wavernn checkpoint file name
|
||||||
"wavernn_config": null, // wavernn config file
|
"wavernn_config": null, // wavernn config file
|
||||||
|
"pwgan_lib_path": null,
|
||||||
|
"pwgan_file": null,
|
||||||
|
"pwgan_config": null,
|
||||||
"is_wavernn_batched":true,
|
"is_wavernn_batched":true,
|
||||||
"port": 5002,
|
"port": 5002,
|
||||||
"use_cuda": false,
|
"use_cuda": false,
|
||||||
|
|
Loading…
Reference in New Issue