From 163528bf69307250f6773a2d62b5cea80b46f77e Mon Sep 17 00:00:00 2001 From: James Pine Date: Fri, 13 Mar 2026 00:00:52 -0700 Subject: [PATCH] fix: single flat model dropdown, linacodec dep, quiet sidecar script - Combine engine + model size into one flat dropdown (Qwen3-TTS 1.7B, Qwen3-TTS 0.6B, LuxTTS) in both FloatingGenerateBox and GenerationForm - Add linacodec git dep to requirements.txt (uv-only source, pip can't resolve it from Zipvoice's pyproject.toml) - Remove redundant transitive deps from requirements.txt - Quiet the sidecar setup script (was printing misleading instructions) --- .../Generation/FloatingGenerateBox.tsx | 56 +-- .../components/Generation/GenerationForm.tsx | 76 ++-- backend/requirements.txt | 2 + scripts/setup-dev-sidecar.js | 327 +++++++++++++++--- 4 files changed, 331 insertions(+), 130 deletions(-) diff --git a/app/src/components/Generation/FloatingGenerateBox.tsx b/app/src/components/Generation/FloatingGenerateBox.tsx index a8d556a6..bd024859 100644 --- a/app/src/components/Generation/FloatingGenerateBox.tsx +++ b/app/src/components/Generation/FloatingGenerateBox.tsx @@ -316,7 +316,7 @@ export function FloatingGenerateBox({ - {isExpanded && ( + {isExpanded && form.watch('engine') !== 'luxtts' && ( - ( - - - - - )} - /> + + + diff --git a/app/src/components/Generation/GenerationForm.tsx b/app/src/components/Generation/GenerationForm.tsx index 2d9412f0..25709469 100644 --- a/app/src/components/Generation/GenerationForm.tsx +++ b/app/src/components/Generation/GenerationForm.tsx @@ -101,30 +101,33 @@ export function GenerationForm() { )}
- ( - - TTS Engine - - - {field.value === 'luxtts' ? 'Fast, English-focused' : 'Multi-language'} - - - - )} - /> + + Model + + + {form.watch('engine') === 'luxtts' + ? 'Fast, English-focused' + : 'Multi-language, two sizes'} + +
- {form.watch('engine') !== 'luxtts' && ( - ( - - Model Size - - Larger models produce better quality - - - )} - /> - )} -