mirror of
https://github.com/shirayu/whispering.git
synced 2024-06-12 10:19:31 +00:00
install whisper in Dockerfile
This commit is contained in:
parent
9f5983eb42
commit
90ba5d52fa
|
@ -18,5 +18,12 @@ WORKDIR /app
|
|||
|
||||
RUN pip install .
|
||||
|
||||
# install whisper models
|
||||
RUN python3 -c "import whisper; whisper.load_model('medium')"
|
||||
RUN python3 -c "import whisper; whisper.load_model('small')"
|
||||
RUN python3 -c "import whisper; whisper.load_model('base');"
|
||||
RUN python3 -c "import whisper; whisper.load_model('large');"
|
||||
RUN python3 -c "import whisper; whisper.load_model('tiny')"
|
||||
|
||||
# open bash
|
||||
CMD ["/bin/bash"]
|
||||
|
|
Loading…
Reference in a new issue