- get your Twilio credentials here and a phone number here to send the SMS and Phone call
- make a Replicate account here to use LLaMA 2 70b-chat
- make a Streamlit account here to build the web app in Python (and take in user input of phone #, what they're scared of, what they like...)
- make a Metaphor account here to perform LLM-powered search for relevant scary stories according to the user input
Clone the repo, install the dependencies by running
pip install -r requirements.txt
, and make a directory.streamlit
containing a file with your credentials calledsecrets.toml
.
This app uses the Amazon Polly Brian voice--you can replace it with one of the voices here if you wish. It also edits the voice with SSML tags like prosody--more info on those found here in the Twilio docs.
Related Tiktok tutorial is found here if that's more your speed