4bd6c87d5f | ||
---|---|---|
assets | ||
frames | ||
.gitignore | ||
README.md | ||
capture.py | ||
narrator.py | ||
requirements.txt |
README.md
narrator
David Attenborough narrates your life. https://twitter.com/charliebholtz/status/1724815159590293764
Setup
Clone this repo, and setup and activate a virtualenv:
python3 -m pip install virtualenv
python3 -m virtualenv venv
source venv/bin/activate
Then, install the dependencies:
pip install -r requirements.txt
Make an OpenAI and ElevenLabs (https://elevenlabs.io) account and set your tokens:
export OPENAI_API_KEY=<token>
export ELEVENLABS_API_KEY=<eleven-token>
Make a new voice in Eleven and get the voice id of that voice using their get voices API.
Run it!
python capture.py
In one terminal. In the other, run the narrator:
python narrator.py