MartaKozina
commited on
Commit
·
33f732b
1
Parent(s):
c04efd3
Upload README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,33 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# w1-speech-recognition
|
2 |
+
## Prerequisites
|
3 |
+
* libsndfile
|
4 |
+
|
5 |
+
`brew install libsndfile`
|
6 |
+
|
7 |
+
* python 3
|
8 |
+
|
9 |
+
`brew install python`
|
10 |
+
|
11 |
+
## Prepare local environment
|
12 |
+
In project root directory:
|
13 |
+
|
14 |
+
Create virtual environment:
|
15 |
+
|
16 |
+
`python3 -m venv venv`
|
17 |
+
|
18 |
+
Activate it:
|
19 |
+
|
20 |
+
`source venv/bin/activate`
|
21 |
+
|
22 |
+
|
23 |
+
## Run flask app:
|
24 |
+
```bash
|
25 |
+
./run.sh
|
26 |
+
```
|
27 |
+
|
28 |
+
You can access the app on localhost:5000.
|
29 |
+
|
30 |
+
## Test the endpoint
|
31 |
+
Only **.wav** files are supported.
|
32 |
+
|
33 |
+
You can find a sample file in test_files directory.
|