Update README.md
This commit is contained in:
parent
daf38c96ba
commit
feeb0cfbd2
37
README.md
37
README.md
|
@ -1 +1,38 @@
|
||||||
# narrator
|
# narrator
|
||||||
|
|
||||||
|
David Attenborough narrates your life.
|
||||||
|
https://twitter.com/charliebholtz/status/1724815159590293764
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
|
Clone this repo, and setup and activate a virtualenv:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
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](https://replicate.com) and ElevenLabs (https://elevenlabs.io) account and set your tokens:
|
||||||
|
|
||||||
|
```
|
||||||
|
export REPLICATE_API_TOKEN=<token>
|
||||||
|
export ELEVENLABS_API_TOKEN=<eleven-token>
|
||||||
|
```
|
||||||
|
|
||||||
|
Make a new voice in Eleven and get the voice id of that voice using their [get voices](https://elevenlabs.io/docs/api-reference/voices) API.
|
||||||
|
|
||||||
|
## Run it!
|
||||||
|
|
||||||
|
```bash
|
||||||
|
python capture.py
|
||||||
|
```
|
||||||
|
In one terminal. In the other, run the narrator:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
python narrator.py
|
||||||
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue