Add --default-voice option to mimic3-server and split voice into language/name

This commit is contained in:
Michael Hansen 2022-05-10 12:28:53 -04:00
commit 918c692d53
4 changed files with 114 additions and 21 deletions

View file

@ -86,6 +86,10 @@ def get_args(argv=None) -> argparse.Namespace:
type=int,
help="Maximum length of input text to process (default: no limit)",
)
parser.add_argument(
"--default-voice",
help="Default voice key to select in web interface",
)
parser.add_argument(
"--debug", action="store_true", help="Print DEBUG messages to console"
)