CoolFace
Apppublic

NeuralInternet/Audio-to-Text_Advanced_Playground

sourceHugging Faceapache-2.0updated 4y agoView on Hugging Face
0likes
dockerfile20 linesDownload Raw Back to root
1FROM huggingface/transformers-pytorch-gpu2EXPOSE 78603 4ADD . /opt/whisper-webui/5 6# Latest version of transformers-pytorch-gpu seems to lack tk. 7# Further, pip install fails, so we must upgrade pip first.8RUN apt-get -y install python3-tk9RUN  python3 -m pip install --upgrade pip &&\10     python3 -m pip install -r /opt/whisper-webui/requirements.txt11 12# Note: Models will be downloaded on demand to the directory /root/.cache/whisper.13# You can also bind this directory in the container to somewhere on the host.14 15# To be able to see logs in real time16ENV PYTHONUNBUFFERED=117 18WORKDIR /opt/whisper-webui/19ENTRYPOINT ["python3"]20CMD ["app.py", "--input_audio_max_duration", "-1", "--server_name", "0.0.0.0", "--auto_parallel", "True"]