Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
@@ -1,23 +1,53 @@
|
|
1 |
-
---
|
2 |
-
title: PhoWhisper Web
|
3 |
-
emoji: π€
|
4 |
-
colorFrom: indigo
|
5 |
-
colorTo: indigo
|
6 |
-
sdk: static
|
7 |
-
pinned: true
|
8 |
-
models:
|
9 |
-
- huuquyet/PhoWhisper-tiny
|
10 |
-
- huuquyet/PhoWhisper-base
|
11 |
-
- huuquyet/PhoWhisper-small
|
12 |
-
-
|
13 |
-
- Xenova/whisper-tiny
|
14 |
-
- Xenova/whisper-
|
15 |
-
- Xenova/whisper-small
|
16 |
-
- Xenova/whisper-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: PhoWhisper Web
|
3 |
+
emoji: π€
|
4 |
+
colorFrom: indigo
|
5 |
+
colorTo: indigo
|
6 |
+
sdk: static
|
7 |
+
pinned: true
|
8 |
+
models:
|
9 |
+
- huuquyet/PhoWhisper-tiny
|
10 |
+
- huuquyet/PhoWhisper-base
|
11 |
+
- huuquyet/PhoWhisper-small
|
12 |
+
- huuquyet/PhoWhisper-medium
|
13 |
+
- Xenova/whisper-tiny.en
|
14 |
+
- Xenova/whisper-tiny
|
15 |
+
- Xenova/whisper-small.en
|
16 |
+
- Xenova/whisper-small
|
17 |
+
---
|
18 |
+
|
19 |
+
# PhoWhisper Web
|
20 |
+
|
21 |
+
ML-powered speech recognition for Vietnamese directly in your browser! Built with [π€ Transformers.js](https://github.com/xenova/transformers.js) + Next.js.
|
22 |
+
|
23 |
+
Using [π€ PhoWhisper](https://github.com/VinAIResearch/PhoWhisper) models:
|
24 |
+
- [PhoWhisper-tiny](https://hf.co/vinai/PhoWhisper-tiny/) converted to [ONNX model](https://hf.co/huuquyet/PhoWhisper-tiny)
|
25 |
+
- [PhoWhisper-base](https://hf.co/vinai/PhoWhisper-base/) converted to [ONNX model](https://hf.co/huuquyet/PhoWhisper-base)
|
26 |
+
- [PhoWhisper-small](https://hf.co/vinai/PhoWhisper-small/) converted to [ONNX model](https://hf.co/huuquyet/PhoWhisper-small)
|
27 |
+
- [PhoWhisper-medium](https://hf.co/vinai/PhoWhisper-medium/) converted to [ONNX model](https://hf.co/huuquyet/PhoWhisper-medium)
|
28 |
+
|
29 |
+
Please check out the demo
|
30 |
+
[![Open in Spaces](https://huggingface.co/datasets/huggingface/badges/resolve/main/open-in-hf-spaces-sm-dark.svg)](https://hf.co/spaces/huuquyet/PhoWhisper-next)
|
31 |
+
or [Vercel app](https://pho-whisper-next.vercel.app/).
|
32 |
+
|
33 |
+
https://github.com/xenova/whisper-web/assets/26504141/fb170d84-9678-41b5-9248-a112ecc74c27
|
34 |
+
|
35 |
+
## Running locally
|
36 |
+
|
37 |
+
1. Clone the repo and install dependencies:
|
38 |
+
|
39 |
+
```bash
|
40 |
+
git clone https://github.com/huuquyet/PhoWhisper-next.git
|
41 |
+
cd PhoWhisper-next
|
42 |
+
yarn install
|
43 |
+
```
|
44 |
+
|
45 |
+
2. Run the development server:
|
46 |
+
|
47 |
+
```bash
|
48 |
+
yarn dev
|
49 |
+
```
|
50 |
+
> Firefox users need to change the `dom.workers.modules.enabled` setting in `about:config` to `true` to enable Web Workers.
|
51 |
+
> Check out [this issue](https://github.com/xenova/whisper-web/issues/8) for more details.
|
52 |
+
|
53 |
+
3. Open the link (e.g., [http://localhost:3000/](http://localhost:3000/)) in your browser.
|