fix: trim accent list to model-validated values only

The model's _resolve_instruct() validates against a fixed vocabulary.
Only 10 accents are supported — removed all unsupported additions.
Updated tooltip to reflect actual constraints.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-05 20:17:59 +02:00
parent d4bf7c825e
commit 194e0b0e09
2 changed files with 10 additions and 32 deletions
+4 -3
View File
@@ -150,9 +150,10 @@ class OmniVoiceGenerate:
"AGE: child, teenager, young adult, middle-aged, elderly\n"
"PITCH: very low pitch, low pitch, moderate pitch, high pitch, very high pitch, whisper\n"
"\n"
"ACCENT EXAMPLES:\n"
" british accent, american southern accent, indian accent,\n"
" australian accent, french accent, japanese accent ...\n"
"ACCENTS (only these are supported by the model):\n"
" american accent, australian accent, british accent, canadian accent,\n"
" chinese accent, indian accent, japanese accent, korean accent,\n"
" portuguese accent, russian accent\n"
"\n"
"EXAMPLE: female, high pitch, british accent"
),