diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d1daede3..9bf5bd7f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -115,6 +115,17 @@ First-time usage will be slower due to model downloads, but subsequent runs will ``` Creates platform-specific binary in `tauri/src-tauri/binaries/` +**Building with local Qwen3-TTS development version:** + +If you're actively developing or modifying the Qwen3-TTS library, set the `QWEN_TTS_PATH` environment variable to point to your local clone: + +```bash +export QWEN_TTS_PATH=~/path/to/your/Qwen3-TTS +./scripts/build-server.sh +``` + +This makes PyInstaller use your local qwen-tts version instead of the pip-installed package. Useful when testing changes to the TTS library before they're published to PyPI or when using an editable install (`pip install -e`). + **Build Tauri desktop app:** ```bash cd tauri diff --git a/app/src/components/Generation/FloatingGenerateBox.tsx b/app/src/components/Generation/FloatingGenerateBox.tsx index 593c3c0f..e4607e23 100644 --- a/app/src/components/Generation/FloatingGenerateBox.tsx +++ b/app/src/components/Generation/FloatingGenerateBox.tsx @@ -112,8 +112,6 @@ export function FloatingGenerateBox({ } }, [selectedProfileId, profiles, setSelectedProfileId]); - // Get current form value to trigger resize when it changes - const formValue = form.watch(isInstructMode ? 'instruct' : 'text'); // Auto-resize textarea based on content (only when expanded) useEffect(() => { @@ -196,59 +194,104 @@ export function FloatingGenerateBox({
- - {isInstructMode && ( - - Delivery instructions: - - )} - ( - - - -