tcz / rotary-gpt

I turned my old rotary phone into a ChatGPT-based home assistant and now you can too
MIT License
42 stars 8 forks source link

default accent #4

Closed raulmaciascam closed 10 months ago

raulmaciascam commented 10 months ago

hi, how can I change the default accent on the code?

tcz commented 10 months ago

Yes, changing this line

self.target_host = "polly.eu-west-1.amazonaws.com"

Should change the region. I guess it could have been a parameter.

Regarding the voice, indeed, change this line:

default_voice = "Daniel"

It's important that you need to pick a voice that supports Neural Voice. Here's the full list: https://docs.aws.amazon.com/polly/latest/dg/voicelist.html