Skip to content

Add browser speech-to-speech demo and MLX LoRA support#25

Open
charlesatliforma wants to merge 5 commits into
PrismML-Eng:mainfrom
charlesatliforma:main
Open

Add browser speech-to-speech demo and MLX LoRA support#25
charlesatliforma wants to merge 5 commits into
PrismML-Eng:mainfrom
charlesatliforma:main

Conversation

@charlesatliforma

Copy link
Copy Markdown

Summary

  • Add a SvelteKit browser app for local voice conversations using Bonsai LLM (WebGPU) and Supertonic TTS
  • Add Bonsai LLM ONNX download scripts for local/offline model setup
  • Add MLX LoRA support to the generate CLI and a test_lora.py helper
  • Add friendly / responses on the image backend when opening the API port directly

Notes

  • No model weights are included; 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 to models/ locally
  • ./scripts/generate.sh --lora-paths models/loras/... — MLX LoRA path works on macOS
  • Open backend port / — returns studio URL and docs links

Made with Cursor

therooze and others added 5 commits June 28, 2026 16:21
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants