Skip to content

Commit

Permalink
Update to DeepSpeech v0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
robinhad committed Nov 28, 2020
1 parent a469712 commit fa4a0a3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:3.7
COPY . /app
WORKDIR /app
RUN wget https://github.com/robinhad/voice-recognition-ua/releases/download/v0.1/uk.tflite
RUN wget https://github.com/mozilla/DeepSpeech/releases/download/v0.7.3/deepspeech-0.7.3-models.tflite
RUN wget https://github.com/robinhad/voice-recognition-ua/releases/download/v0.2/uk.tflite
RUN wget https://github.com/mozilla/DeepSpeech/releases/download/v0.9.1/deepspeech-0.9.1-models.tflite
RUN pip install -r requirements.txt
CMD uwsgi app.ini --http 0.0.0.0:$PORT
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# voice-recognition-ua
How to run:
1. Make sure to download:
2. https://github.com/robinhad/voice-recognition-ua/releases/download/0.1/uk.tflite
3. https://github.com/mozilla/DeepSpeech/releases/download/v0.7.3/deepspeech-0.7.3-models.tflite
2. https://github.com/robinhad/voice-recognition-ua/releases/download/v0.2/uk.tflite
3. https://github.com/mozilla/DeepSpeech/releases/download/v0.9.1/deepspeech-0.9.1-models.tflite

How to launch:
```
Expand Down
2 changes: 1 addition & 1 deletion client.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def client(audio_file, lang="uk"):
if lang == "uk":
model = "./uk.tflite"
if lang == "en":
model = "./deepspeech-0.7.3-models.tflite"
model = "./deepspeech-0.9.1-models.tflite"

ds = Model(model)
# sphinx-doc: python_ref_model_stop
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask==1.1.2
deepspeech-tflite==0.7.3
deepspeech-tflite==0.9.1
numpy==1.17.0
uwsgi==2.0.19.1

0 comments on commit fa4a0a3

Please sign in to comment.