dockerfile at least can run stt though not sure how to pipe audio into it
parent
c3130e7a00
commit
8ab758a5cc
11
Dockerfile
11
Dockerfile
|
|
@ -16,12 +16,19 @@ RUN \
|
|||
&& rm ./larynx-tts_1.1.0_amd64.deb
|
||||
|
||||
# stt #nogo since i need microphone #wait no i dont, i just need to set env or dont start
|
||||
RUN \
|
||||
apt -y install portaudio19-dev python3-pyaudio python3-pip git \
|
||||
&& python3 -m pip install \
|
||||
git+https://github.com/openai/whisper.git \
|
||||
soundfile \
|
||||
PyAudio \
|
||||
SpeechRecognition
|
||||
|
||||
# sigusr1
|
||||
|
||||
# mayhem-party
|
||||
COPY --from=mayhem-party-builder /bin/mayhem-party /bin/mayhem-party
|
||||
|
||||
# sigusr1
|
||||
|
||||
# entrypoint
|
||||
RUN echo 'date' > /entrypoint.sh \
|
||||
&& echo 'cleanup() { kill -9 $(jobs -p); wait; }; trap cleanup EXIT' >> /entrypoint.sh \
|
||||
|
|
|
|||
Loading…
Reference in New Issue