aboutsummaryrefslogtreecommitdiff
path: root/app/ui/hub.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/ui/hub.py')
-rw-r--r--app/ui/hub.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/ui/hub.py b/app/ui/hub.py
index abb375a..de5701f 100644
--- a/app/ui/hub.py
+++ b/app/ui/hub.py
@@ -1362,6 +1362,9 @@ def _audiocpp_fields(stdscr, api_url: Optional[str] = None,
{"key": prefix + "model_id", "label": "Model", "kind": "choice",
"value": default_model,
"choices": [(_label(m), m.get("id")) for m in models],
+ # The pick menu shows the padded capability table; the form row
+ # collapses its column padding back to the two-space gutter.
+ "compact_label": True,
"on_change": reset_voice},
# The label tracks the entry's capability: a built-in speaker on
# CustomVoice, otherwise the name of a server-side voice to clone.
@@ -1513,7 +1516,9 @@ def _qwen_fields(remote_modes: Optional[list] = None,
initial_clone = str(initial_wavs[0]) if initial_wavs else ""
fields = [
{"key": prefix + "mode", "label": "Model", "kind": "choice",
- "value": default_mode, "choices": model_choices},
+ "value": default_mode, "choices": model_choices,
+ # Same as the audio.cpp picker: padded menu table, compact row.
+ "compact_label": True},
{"key": prefix + "speaker", "label": "Speaker", "kind": "choice",
"value": default_speaker, "choices": speakers,
"visible": lambda fs: _field_value(fs, prefix + "mode") == "custom"},