Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/huuquyet/phowhisper-next
Demo using PhoWhisper models of VinAI built with Transformers.js + Next.js
https://github.com/huuquyet/phowhisper-next
nextjs onnx-models phowhisper speech-recognition transformersjs vietnamese vinai whisper
Last synced: 30 days ago
JSON representation
Demo using PhoWhisper models of VinAI built with Transformers.js + Next.js
- Host: GitHub
- URL: https://github.com/huuquyet/phowhisper-next
- Owner: huuquyet
- Created: 2024-04-08T05:46:59.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-19T02:30:40.000Z (7 months ago)
- Last Synced: 2024-04-21T13:58:18.713Z (7 months ago)
- Topics: nextjs, onnx-models, phowhisper, speech-recognition, transformersjs, vietnamese, vinai, whisper
- Language: TypeScript
- Homepage: https://hf.co/spaces/huuquyet/PhoWhisper-next
- Size: 1.53 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](.github/CODE_OF_CONDUCT.md)
# PhoWhisper Web
ML-powered speech recognition for Vietnamese directly in your browser! Built with [🤗 Transformers.js](https://github.com/xenova/transformers.js) + [Next.js](https://nextjs.org/).
Using [🤗 PhoWhisper](https://github.com/VinAIResearch/PhoWhisper) models:
- [PhoWhisper-tiny](https://hf.co/vinai/PhoWhisper-tiny/) converted to [ONNX model](https://hf.co/huuquyet/PhoWhisper-tiny)
- [PhoWhisper-base](https://hf.co/vinai/PhoWhisper-base/) converted to [ONNX model](https://hf.co/huuquyet/PhoWhisper-base)
- [PhoWhisper-small](https://hf.co/vinai/PhoWhisper-small/) converted to [ONNX model](https://hf.co/huuquyet/PhoWhisper-small)
- [PhoWhisper-medium](https://hf.co/vinai/PhoWhisper-medium/) converted to [ONNX model](https://hf.co/huuquyet/PhoWhisper-medium)
- [PhoWhisper-large](https://hf.co/vinai/PhoWhisper-large/) converted to [ONNX model](https://hf.co/huuquyet/PhoWhisper-large)Check out the demo sites:
or [Vercel app](https://pho-whisper-next.vercel.app/).https://github.com/xenova/whisper-web/assets/26504141/fb170d84-9678-41b5-9248-a112ecc74c27
## Running locally
1. Clone the repo and install dependencies with [bun](https://bun.sh):
```bash
git clone https://github.com/huuquyet/PhoWhisper-next.git
cd PhoWhisper-next
bun install
```2. Run the development server:
```bash
bun dev
```
> Firefox users need to change the `dom.workers.modules.enabled` setting in `about:config` to `true` to enable Web Workers.
> Check out [this issue](https://github.com/xenova/whisper-web/issues/8) for more details.3. Open the link (e.g., [http://localhost:3000/](http://localhost:3000/)) in your browser.
## Acknowledgement
- [Whisper-web](https://github.com/xenova/whisper-web)
- [PhoWhisper](https://github.com/VinAIResearch/PhoWhisper)
- [Transformers.js](https://github.com/xenova/transformers.js)
- [Next.js](https://nextjs.org)