hcooper / snips-tts-polly

Use the AWS Polly text-to-speech service with Snip voice platform
MIT License
8 stars 6 forks source link

Instructions #1

Closed bkmar1192 closed 4 years ago

bkmar1192 commented 6 years ago

Do you have instructions on how to install this on a raspberry pi?

nanosonde commented 4 years ago

Assuming Raspberry Pi and Raspbian.

Get AWS Credentials for AWS Polly from Amazon and place them in your home directory. Here the user "pi" is used.

pi@snips:~ $ cat .aws/credentials [default] aws_secret_access_key = aws_access_key_id = pi@snips:~ $ cat .aws/config [default] region = eu-central-1 pi@snips:~ $

1) sudo pip3 install boto3 2) Edit AWS credentials (see above) 3) cp snips-tts-polly.py /usr/bin/snips-tts-polly 4) cp snips-tts-polly.service /etc/systemd/system/snips-tts-polly.service 5) sudo systemctl enable snips-tts-polly.service 6) sudo systemctl start snips-tts-polly.service

hcooper commented 4 years ago

Thanks for replying @nanosonde.