[Bugfix] Add TTS configuration options (#1177)

Signed-off-by: Yanick Schraner <yanick.schraner@bs.ch>
This commit is contained in:
Yanick Schraner authored and GitHub committed 2026-02-26 00:14:44 +08:00
1 parent 1eebb374f1
commit 97f4c5b1e7
9 files changed
+220 -11

No files matched your search

+8
View File
@@ -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