Skip to content

Commit

Permalink
actually copy the model
Browse files Browse the repository at this point in the history
  • Loading branch information
cboiangiu committed Jun 11, 2024
1 parent 2c1ef86 commit 1e77657
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ RUN pip3 install vosk --target=/vosk

RUN git clone https://github.com/ideasman42/nerd-dictation.git

RUN cd nerd-dictation && wget https://alphacephei.com/kaldi/models/vosk-model-small-en-us-0.15.zip && unzip vosk-model-small-en-us-0.15.zip && rm vosk-model-small-en-us-0.15.zip
RUN wget https://alphacephei.com/kaldi/models/vosk-model-small-en-us-0.15.zip && unzip vosk-model-small-en-us-0.15.zip && rm vosk-model-small-en-us-0.15.zip

ENTRYPOINT [ "/backend/entrypoint.sh" ]
2 changes: 2 additions & 0 deletions backend/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ cd /backend
cp -r /vosk /backend/out/

cp -r /nerd-dictation /backend/out/

cp -r /vosk-model-small-en-us-0.15 /backend/out/

0 comments on commit 1e77657

Please sign in to comment.