-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
ideasInteresting ideas for experimentationInteresting ideas for experimentation
Description
I just had an awesome idea:
Make a web-page that:
- Listens when someone speaks
- Transcribes the words using WASM Whisper
- Generates a new sentence using WASM GPT-2
- Uses Web Speech API to synthesise the speech and play it on the speakers.
All of this running locally in the browser - no server required
I have all the ingredients and I think the performance is just enough. I just have to put it together.
The total data that the page will have to load on startup (probably using Fetch API) is:
- 74 MB for the Whisper
tiny.enmodel - 240 MB for the GPT-2
smallmodel - Web Speech API is built-in in modern browsers
I think it will be very fun because you could talk to the web-page or even add extra devices that talk to each other only through the mic and the speakers. For example, you simply open the page on your phone and tablet and put them next to each other - listen to them talk about something 😄
Any ideas to make this even more fun?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ideasInteresting ideas for experimentationInteresting ideas for experimentation