mirror of https://github.com/coqui-ai/TTS.git
update server test
parent
af0fa9f6da
commit
c776526c45
|
@ -1,5 +1,4 @@
|
|||
import io
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
|
||||
|
@ -101,7 +100,6 @@ class Synthesizer(object):
|
|||
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
|
||||
from parallel_wavegan.models import ParallelWaveGANGenerator
|
||||
from parallel_wavegan.utils.audio import AudioProcessor as AudioProcessorVocoder
|
||||
print(" > Loading PWGAN model ...")
|
||||
print(" | > model config: ", model_config)
|
||||
print(" | > model file: ", model_file)
|
||||
|
|
|
@ -3,9 +3,11 @@
|
|||
"tts_config":"dummy_model_config.json", // tts config.json file
|
||||
"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_path": null, // wavernn model root path
|
||||
"wavernn_file": null, // wavernn checkpoint file name
|
||||
"wavernn_config": null, // wavernn config file
|
||||
"pwgan_lib_path": null,
|
||||
"pwgan_file": null,
|
||||
"pwgan_config": null,
|
||||
"is_wavernn_batched":true,
|
||||
"port": 5002,
|
||||
"use_cuda": false,
|
||||
|
|
Loading…
Reference in New Issue