dockerfile at least can run stt though not sure how to pipe audio into it

master
Bel LaPointe 2023-03-28 15:41:22 -06:00
parent c3130e7a00
commit 8ab758a5cc
1 changed files with 9 additions and 2 deletions

View File

@ -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 \