Spaces:
Running
Running
Yurii Paniv
commited on
Commit
•
a979b42
1
Parent(s):
2f350d6
Update to DeepSpeech v0.9.1
Browse files- Dockerfile +2 -2
- README.md +2 -2
- client.py +1 -1
- requirements.txt +1 -1
Dockerfile
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
FROM python:3.7
|
2 |
COPY . /app
|
3 |
WORKDIR /app
|
4 |
-
RUN wget https://github.com/robinhad/voice-recognition-ua/releases/download/v0.
|
5 |
-
RUN wget https://github.com/mozilla/DeepSpeech/releases/download/v0.
|
6 |
RUN pip install -r requirements.txt
|
7 |
CMD uwsgi app.ini --http 0.0.0.0:$PORT
|
|
|
1 |
FROM python:3.7
|
2 |
COPY . /app
|
3 |
WORKDIR /app
|
4 |
+
RUN wget https://github.com/robinhad/voice-recognition-ua/releases/download/v0.2/uk.tflite
|
5 |
+
RUN wget https://github.com/mozilla/DeepSpeech/releases/download/v0.9.1/deepspeech-0.9.1-models.tflite
|
6 |
RUN pip install -r requirements.txt
|
7 |
CMD uwsgi app.ini --http 0.0.0.0:$PORT
|
README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
# voice-recognition-ua
|
2 |
How to run:
|
3 |
1. Make sure to download:
|
4 |
-
2. https://github.com/robinhad/voice-recognition-ua/releases/download/
|
5 |
-
3. https://github.com/mozilla/DeepSpeech/releases/download/v0.
|
6 |
|
7 |
How to launch:
|
8 |
```
|
|
|
1 |
# voice-recognition-ua
|
2 |
How to run:
|
3 |
1. Make sure to download:
|
4 |
+
2. https://github.com/robinhad/voice-recognition-ua/releases/download/v0.2/uk.tflite
|
5 |
+
3. https://github.com/mozilla/DeepSpeech/releases/download/v0.9.1/deepspeech-0.9.1-models.tflite
|
6 |
|
7 |
How to launch:
|
8 |
```
|
client.py
CHANGED
@@ -19,7 +19,7 @@ def client(audio_file, lang="uk"):
|
|
19 |
if lang == "uk":
|
20 |
model = "./uk.tflite"
|
21 |
if lang == "en":
|
22 |
-
model = "./deepspeech-0.
|
23 |
|
24 |
ds = Model(model)
|
25 |
# sphinx-doc: python_ref_model_stop
|
|
|
19 |
if lang == "uk":
|
20 |
model = "./uk.tflite"
|
21 |
if lang == "en":
|
22 |
+
model = "./deepspeech-0.9.1-models.tflite"
|
23 |
|
24 |
ds = Model(model)
|
25 |
# sphinx-doc: python_ref_model_stop
|
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
Flask==1.1.2
|
2 |
-
deepspeech-tflite==0.
|
3 |
numpy==1.17.0
|
4 |
uwsgi==2.0.19.1
|
|
|
1 |
Flask==1.1.2
|
2 |
+
deepspeech-tflite==0.9.1
|
3 |
numpy==1.17.0
|
4 |
uwsgi==2.0.19.1
|