Live data from Hacker News

Kokoro WebGPU: Real-time text-to-speech 100% locally in the browser

huggingface.co

21–30 of 56 posts

Re: Kokoro WebGPU: Real-time text-to-speech 100% locally in the browser

#21
Kokoro gives pretty good voices and is quite light...making it useful despite its lack of voice cloning capability. However, I haven't figured out how to run it in the context of a tts server without homebrewing the server...which maybe is easy? IDK.

Re: Kokoro WebGPU: Real-time text-to-speech 100% locally in the browser

#22
post #17

Fyi I tried this on my Galaxy S21 with both Brave and Chrome browsers and just got screeching noises in the audio

the mere idea of voice software's error mode being uncontrollable screeching is the most hilarious thing to me

Re: Kokoro WebGPU: Real-time text-to-speech 100% locally in the browser

#23
post #18

Sounds horribly in chrome with an amd gpu, why is that?

Are you somehow implying that everyone in the AI arms race believes that only CUDA exists?! /s

But, in a more serious tone: the story that I hear about AMD GPUs is that they are, in fact, shittier because AMD themselves give fewer shits. GIGO

Re: Kokoro WebGPU: Real-time text-to-speech 100% locally in the browser

#24

Kokoro gives pretty good voices and is quite light...making it useful despite its lack of voice cloning capability. However, I haven't figured out how to run it in the context of a tts server without homebrewing the server...which maybe is easy? IDK.

https://github.com/remsky/Kokoro-FastAPI

Re: Kokoro WebGPU: Real-time text-to-speech 100% locally in the browser

#26
post #5

Brilliant job! Love how fast it is, I'm sure if the rapid pace of speech ML continues we'll have Speech to Speech models directly running in our browser!

It's already there, Hibiki by Kyutai.org was released yesterday with speech to speech, french to english on Iphone:

https://x.com/neilzegh/status/1887498102455869775

https://github.com/kyutai-labs/hibiki

Re: Kokoro WebGPU: Real-time text-to-speech 100% locally in the browser

#28

Brave browser and Samsung Galaxy S22 ultra - gives horrible screeching noises

Firefox on Samsung S21, worked fine albeit slow, around 20-25s for the demo text. Quality sounded good compared to a lot of other small TTS models I've tried.

Yeah this only worked with Firefox on my phone. All other browsers generated a screechy noise instead.
Post reply on HN