Add browser speech-to-speech demo and MLX LoRA support#25
Open
charlesatliforma wants to merge 5 commits into
Open
Add browser speech-to-speech demo and MLX LoRA support#25charlesatliforma wants to merge 5 commits into
charlesatliforma wants to merge 5 commits into
Conversation
Introduce a SvelteKit app for local voice conversations with Bonsai LLM (WebGPU) and Supertonic TTS, plus LoRA flags for the MLX generate CLI, LLM download scripts, and friendly backend root responses on the API port. Co-authored-by: Cursor <cursoragent@cursor.com>
Vendor the browser image-generation WebGPU build (HTML + JS bundle) with a local .gitignore so runtime model weights are never committed. Co-authored-by: Cursor <cursoragent@cursor.com>
Add Simple/Advanced views with a voice orb, auto-opening greetings, fresh Simple sessions, assistant output cleanup, and a ChatGPT-style dark interface without Bonsai branding in the main UI. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
test_lora.pyhelper/responses on the image backend when opening the API port directlyNotes
models/remains gitignored (weights are downloaded separately via existing/new scripts).Test plan
cd sveltekit && npm install && npm run dev— speech-to-speech UI loads, models download in browser./scripts/download_bonsai_llm.sh— ONNX weights download tomodels/locally./scripts/generate.sh --lora-paths models/loras/...— MLX LoRA path works on macOS/— returns studio URL and docs linksMade with Cursor