Yurii Paniv commited on
Commit
a979b42
1 Parent(s): 2f350d6

Update to DeepSpeech v0.9.1

Browse files
Files changed (4) hide show
  1. Dockerfile +2 -2
  2. README.md +2 -2
  3. client.py +1 -1
  4. 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.1/uk.tflite
5
- RUN wget https://github.com/mozilla/DeepSpeech/releases/download/v0.7.3/deepspeech-0.7.3-models.tflite
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/0.1/uk.tflite
5
- 3. https://github.com/mozilla/DeepSpeech/releases/download/v0.7.3/deepspeech-0.7.3-models.tflite
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.7.3-models.tflite"
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.7.3
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