[Bugfix] Add TTS configuration options (#1177)
Signed-off-by: Yanick Schraner <yanick.schraner@bs.ch>
This commit is contained in:
1 parent
1eebb374f1
commit
97f4c5b1e7
9 files changed
+220
-11
No files matched your search
@@ -290,6 +290,14 @@ class OmniServeCommand(CLISubcommand):
|
||||
type=int,
|
||||
help="The max size of generate image (height * width).",
|
||||
)
|
||||
|
||||
# TTS-specific parameters
|
||||
omni_config_group.add_argument(
|
||||
"--tts-max-instructions-length",
|
||||
type=int,
|
||||
default=None,
|
||||
help="Maximum length for TTS voice style instructions (overrides stage config, default: 500).",
|
||||
)
|
||||
return serve_parser
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user