mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-11 18:43:44 -05:00
[GH-ISSUE #10064] Kokoro real time audio #15752
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @andsty on GitHub (Feb 15, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10064
Feature Request
Important Notes
Add support of real time voice transcription with Kokoro.
You can easily do it we websockets.
Here is a sample code:
@cyuzik commented on GitHub (Feb 15, 2025):
The demos I've heard for Kokoro are fantastic and far more realistic than the existing TTS implementation.
@silentoplayz commented on GitHub (Feb 15, 2025):
As of v0.5.11 of Open WebUI:
That's one option available. If your browser does not have WebGPU support, then the Kokoro.js option will not work for you.
A second option available is to run Kokoro-FastAPI locally and integrate that into your Open WebUI instance.
@myrulezzz commented on GitHub (Feb 15, 2025):
The kokoro integration is perfect. But as models like deepseek generate a lot of content i was thinking that with similar implemenration i shared it wont wait wait for inference to finish and then start the voice
@StevePierce commented on GitHub (Feb 15, 2025):
There is a setting in Admin Settings > Settings > Audio called "Response Splitting" which will dictate how quickly portions of the response will be sent to TTS engine.
@myrulezzz commented on GitHub (Feb 15, 2025):
But even that one having auto audio response enabled for llm answers it will wait for the response to finish and then start.it will not start lets say when the first paragraph is finished. So if there is a long response, the response should finish and then start the audio.
@tjbck commented on GitHub (Feb 16, 2025):
Already implemented.