From e074efb9428e852327b7e5b820881aeae8f80aa2 Mon Sep 17 00:00:00 2001 From: Ray Smets Date: Fri, 24 Nov 2023 09:14:36 -0800 Subject: [PATCH] [REAME] updated with photo booth mode information. --- README.md | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index b2c7f25..ee102f5 100644 --- a/README.md +++ b/README.md @@ -32,14 +32,6 @@ Make a new voice in Eleven and get the voice id of that voice using their [get v export ELEVENLABS_VOICE_ID= ``` -### Streaming - -If you would like the speech to start quicker via a streaming manner set the environment variable to enable. The concession is that the audio snippet is not saved in the `/narration` directory. - -```bash -export ELEVENLABS_STREAMING=true -``` - ### Script Alternative to running the commands above individually, one can use the `setup.sh` script to facilitate getting the two required shell envs ready to rock by updating the environment variable values in `setup.sh` and executing the script. @@ -59,3 +51,21 @@ In another terminal, run the narrator: ```bash python narrator.py ``` + +## Options + +### Streaming + +If you would like the speech to start quicker via a streaming manner set the environment variable to enable. The concession is that the audio snippet is not saved in the `/narration` directory. + +```bash +export ELEVENLABS_STREAMING=true +``` + +### PhotoBooth + +The default behavior of this app will continually analyze images. If you would like to use in a mode more similar to a photo booth, set the environment variable. In this mode, the image will only be analyzed when the spacebar key is pressed. + +```bash +export PHOTOBOOTH_MODE=true +```