restructure the project and start using pytest
This commit is contained in:
10
multilang_translator/text_to_speech/piper_welcome.sh
Normal file
10
multilang_translator/text_to_speech/piper_welcome.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
SCRIPT_DIR=$(dirname "$(readlink -f "$BASH_SOURCE")")
|
||||
START_DIR=$(pwd)
|
||||
|
||||
cd $SCRIPT_DIR
|
||||
|
||||
echo 'Welcome to the world of speech synthesis!' | piper \
|
||||
--model en_US-lessac-medium \
|
||||
--output_file $SCRIPT_DIR/welcome.wav \
|
||||
|
||||
cd $START_DIR
|
||||
Reference in New Issue
Block a user