server.sh to run all

This commit is contained in:
bel
2023-03-31 22:12:57 -06:00
parent c4864a380d
commit d7e7a07f6e
3 changed files with 10 additions and 8 deletions

View File

@@ -54,10 +54,10 @@ _mayhem_party() {
_tts() {
log launching tts
(
cd ./git.d/tts.d/larynx.d/
bash ./run.sh
) &
pushd ./git.d/tts.d/larynx.d/
chmod -R 777 ./mnt.d || true
bash ./run.sh
popd
}
_stt() {
@@ -66,7 +66,9 @@ _stt() {
(
export HOME="$PWD/mnt.d/stt.d"
mkdir -p "$HOME"
pip3 install -r ./requirements.txt
if [ -n "$PIP" ]; then
pip3 install -r ./requirements.txt
fi
local device=$(
pactl list \
| grep Monitor.Source \