18 lines
560 B
Plaintext
18 lines
560 B
Plaintext
uv venv .venv
|
|
source .venv/bin/activate.fish
|
|
uv pip install flask
|
|
uv pip freeze > requirements.txt
|
|
|
|
get piper binary https://github.com/rhasspy/piper
|
|
tar -xvf piper_linux_aarch64.tar.gz
|
|
|
|
wget https://huggingface.co/rhasspy/piper-voices/resolve/main/en/en_US/amy/medium/en_US-amy-medium.onnx
|
|
https://huggingface.co/rhasspy/piper-voices/tree/v1.0.0/en/en_US/amy/medium
|
|
|
|
echo 'Welcome to the world of speech synthesis!' | \
|
|
./piper/piper --model en_US-lessac-medium.onnx --output_file welcome.wav
|
|
|
|
or run any script
|
|
|
|
gunicorn -w 4 -b 0.0.0.0:4005 stt_piper:app
|