Live data from Hacker News

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

huggingface.co

51–56 of 56 posts

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

#51

Earlier quoted context omitted.

There are a few already, I assume MacWhisper will add it. That being said, I am also working on a (crossplatform, in Flutter) UI for this.

My understanding is that MacWhisper is a front-end for Whisper.cpp so... it does Speech-to-text? (transcribing what you dictate) Here I'm talking about the model shared in this thread, which is text-to-speech (reading out loud content from the web)

Yes, I am saying they might include features for TTS in addition to their current STT feature set. Seems like many of these sorts of apps are looking to add both to be more full fledged.

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

#52

Any luck with getting this running on iOS 18.2.1 running Safari? I have tfe WebGPU feature flag turned on (Settings -> Safari -> Advanced) and I’ve tried a few other WebGPU demos successfully

Loads for a while then crashes for me. Guessing too much RAM usage

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

#54
post #15
post #10

Earlier quoted context omitted.

Amazing! I'm interested in models running locally and Kokoro seems amazing. Are you aware of similar models but for Speech to text?

We have released a bunch of speech recognition demos (using whisper, moonshine, and others). For example: - https://huggingface.co/spaces/Xenova/whisper-web - https://huggingface.co/spaces/Xenova/whisper-webgpu - https://huggingface.co/spaces/Xenova/realtime-whisper-webgpu - https://huggingface.co/spaces/webml-community/moonshine-web

The realtime Whisper demo is amazing.

How can I understand what's in the compiled JS though? Is there some source for that?

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

#56

Earlier quoted context omitted.

Just to be clear, are you really saying that speech with text to speech is server hosted and not on device for Windows? You could do text to speech on a 1Mhz Apple //e using the 1 bit speaker back in the 80s (software automated mouth) and MacinTalk was built into the Mac in 1984. I know it’s built into both the Mac and iOS devices and run off line. But I do see how cross platform browsers like Firefox would want a bu…

If the application is still using the deprecated Microsoft Speech API (SAPI), it's being done locally, but that API hasn't received updates in like a decade and the output is considerably lower quality than what people expect to hear today. Firefox on Windows is one such application that still uses SAPI. I don't know what uses does on other operating systems. Like, on Android, I imagine it uses whatever is the built-…

I’m pretty sure that built-in TTS on Mac and iPhone is local (and has been for ages).
Post reply on HN