server.sh to run all
This commit is contained in:
12
server.sh
12
server.sh
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user