Add --max-text-length to mimic3-server
This commit is contained in:
parent
938b5eff70
commit
05795c5d82
3 changed files with 18 additions and 2 deletions
|
|
@ -81,6 +81,11 @@ def get_args(argv=None) -> argparse.Namespace:
|
|||
default=1,
|
||||
help="Number of synthesis threads (default: 1)",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--max-text-length",
|
||||
type=int,
|
||||
help="Maximum length of input text to process (default: no limit)",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--debug", action="store_true", help="Print DEBUG messages to console"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue