David Attenborough narrates your life
Go to file
Balint Lendvai 1ae0f0b140
Merge branch 'main' into feat-sarcastic-code-reviewer
2023-11-16 11:47:47 +01:00
assets first commit 2023-11-07 10:27:35 -05:00
frames commit empty frames folder to save pictures 2023-11-15 22:44:40 +00:00
.gitignore Merge branch 'main' into feat-sarcastic-code-reviewer 2023-11-16 11:47:47 +01:00
README.md Merge branch 'main' into feat-sarcastic-code-reviewer 2023-11-16 11:47:47 +01:00
capture.py feat: grabs screenshot instead webcam 2023-11-16 11:42:58 +01:00
narrator.py feat: grabs screenshot instead webcam 2023-11-16 11:42:58 +01:00
requirements.txt add missing dependencies to `requirements.txt` 2023-11-15 18:51:03 +01:00

README.md

sarcastic narrator

Sarcastic David Attenborough narrates what you are doing based on your screen

Forked from this project:

https://github.com/cbh123/narrator David Attenborough narrates your life. https://twitter.com/charliebholtz/status/1724815159590293764

Want to make your own AI app?

Check out Replicate. We make it easy to run machine learning models with an API.

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 a Replicate, OpenAI, and ElevenLabs 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