Some changes to make things easier and faster - #10
Conversation
….env to gitignore. Installed litert-lm with uv so it gets used in python. Changed model to 4B
|
Hi. Several things:
|
|
I got a red error about not using the libLiteRtMetalAccelerator. You have in readme that you need to symlink -
That nightly fixes the red errors and looks faster, not 6x. Overall amazing project, I did system prompt of
and she loves it :) |
Ohhh that's lovely :) I personally prefer the E2B model since I'm on M3 Pro and the speed is much better with the E2B model. That's a good point that people should be able to easily use a different model. Regarding the Ok I see what you're saying that the websocket doesn't work with |
i think one is cli and the other is python bindings |
…n (sometimes missing audio end message on barge)
|
I added another commit to fix the html issues where on barge it would not speak |
The repo was reorganized into a src layout and moved off litert-lm since this PR was opened, superseding most of its changes. Resolution keeps .env in .gitignore; the host change is re-applied to the new file location in the follow-up commit. - model E2B->E4B: e4b is now the default via MODEL in .env - litert-lm-api-nightly: litert-lm was replaced by llama.cpp - vad-web @latest: keeping the version pin - barge-in unmute fix: the reworked client clears ignoreIncomingAudio when the barge utterance is sent and when the stale stream ends
Browsers grant plain-http pages a secure context only on localhost; at http://0.0.0.0 secureContext is false and getUserMedia doesn't exist, so the app can't capture audio or video. Re-applied from the original PR diff after the src-layout reorg moved server.py. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Hey we just merged the PR. We now have env variable that can change the model, although we only support Gemma 4 that has audio since our architecture relies on it. We also fixed the barge-in issue on main. Thanks for the contribution! |
Changed host to localhost, 0.0.0.0 does not work when clicked. Added .env to gitignore. Installed litert-lm with uv so it gets used in python. Changed model to 4B