Use voices-dir command line argument in mimic3-server
This commit is contained in:
parent
c0f5133d72
commit
febec1eecd
3 changed files with 78 additions and 5 deletions
|
|
@ -49,8 +49,9 @@ def get_app(args: argparse.Namespace, request_queue: Queue, temp_dir: str):
|
|||
|
||||
_TEMP_DIR: typing.Optional[Path] = None
|
||||
|
||||
# TODO: args.voices_dirs
|
||||
_MIMIC3 = Mimic3TextToSpeechSystem(Mimic3Settings())
|
||||
_MIMIC3 = Mimic3TextToSpeechSystem(
|
||||
Mimic3Settings(voices_directories=args.voices_dir)
|
||||
)
|
||||
|
||||
if args.cache_dir != _MISSING:
|
||||
if args.cache_dir is None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue